mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Support access format for database notification targets (#3953)
* Add configuration parameter "format" for db targets and perform configuration migration. * Add PostgreSQL `access` format: This causes Minio to append all events to the configured table. Prefix, suffix and event filters continue to be supported for this mode too. * Update documentation for PostgreSQL notification target. * Add MySQL `access` format: It is very similar to the same format for PostgreSQL. * Update MySQL notification documentation.
This commit is contained in:
committed by
Harshavardhana
parent
6e63904048
commit
a099319e66
@@ -1,4 +1,4 @@
|
||||
# Minio Server `config.json` (v16) Guide [](https://slack.minio.io) [](https://goreportcard.com/report/minio/minio) [](https://hub.docker.com/r/minio/minio/) [](https://codecov.io/gh/minio/minio)
|
||||
# Minio Server `config.json` (v17) Guide [](https://slack.minio.io) [](https://goreportcard.com/report/minio/minio) [](https://hub.docker.com/r/minio/minio/) [](https://codecov.io/gh/minio/minio)
|
||||
|
||||
Minio server stores all its configuration data in `${HOME}/.minio/config.json` file by default. Following sections provide detailed explanation of each fields and how to customize them. A complete example of `config.json` is available [here](https://raw.githubusercontent.com/minio/minio/master/docs/config/config.sample.json)
|
||||
|
||||
|
||||
@@ -53,6 +53,7 @@
|
||||
"elasticsearch": {
|
||||
"1": {
|
||||
"enable": true,
|
||||
"format": "namespace",
|
||||
"url": "http://127.0.0.1:9200",
|
||||
"index": "bucketevents"
|
||||
}
|
||||
@@ -60,6 +61,7 @@
|
||||
"redis": {
|
||||
"1": {
|
||||
"enable": true,
|
||||
"format": "namespace",
|
||||
"address": "127.0.0.1:6379",
|
||||
"password": "yoursecret",
|
||||
"key": "bucketevents"
|
||||
@@ -68,6 +70,7 @@
|
||||
"postgresql": {
|
||||
"1": {
|
||||
"enable": true,
|
||||
"format": "namespace",
|
||||
"connectionString": "",
|
||||
"table": "bucketevents",
|
||||
"host": "127.0.0.1",
|
||||
@@ -93,6 +96,7 @@
|
||||
"mysql": {
|
||||
"1": {
|
||||
"enable": true,
|
||||
"format": "namespace",
|
||||
"dsnString": "",
|
||||
"table": "minio_images",
|
||||
"host": "172.17.0.1",
|
||||
|
||||
Reference in New Issue
Block a user