You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/11/29 09:13:29 UTC
[GitHub] [pulsar] ignacioli opened a new issue #13019: pulsar-io-elasticsearch-sink support rolling create index
ignacioli opened a new issue #13019:
URL: https://github.com/apache/pulsar/issues/13019
**Background describe**
Current [elasticsearch-sink](https://pulsar.apache.org/docs/en/io-elasticsearch-sink/#configuration) has a solid `indexName` configuration, which is inflexible, we must specific the index name accurately when creating the elasticsearch-sink.
```bash
$ bin/pulsar-admin sinks create \
--archive connectors/pulsar-io-elastic-search-2.8.1.nar \
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
--sink-config-file elasticsearch-sink.yml \
--inputs elasticsearch_test
$ cat elasticsearch-sink.yml
configs:
elasticSearchUrl: "http://localhost:9200"
indexName: "my_index"
typeName: "doc"
username: "scooby"
password: "doobie"
```
**Enhancement request**
A clear and concise description of any alternative solutions or features you've considered.
Request to support rolling create index configuration like following:
```bash
$ cat elasticsearch-sink.yml
configs:
elasticSearchUrl: "http://localhost:9200"
indexName: "my_index-%Y-%m-%d"
typeName: "doc"
username: "scooby"
password: "doobie"
```
key feature:
`indexName: "my_index-%Y-%m-%d"`, which is a common use of elasticsearch client.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] github-actions[bot] commented on issue #13019: pulsar-io-elasticsearch-sink support rolling create index
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #13019:
URL: https://github.com/apache/pulsar/issues/13019#issuecomment-1051440801
The issue had no activity for 30 days, mark with Stale label.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] tuteng closed issue #13019: pulsar-io-elasticsearch-sink support rolling create index
Posted by GitBox <gi...@apache.org>.
tuteng closed issue #13019:
URL: https://github.com/apache/pulsar/issues/13019
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] mattisonchao commented on issue #13019: pulsar-io-elasticsearch-sink support rolling create index
Posted by GitBox <gi...@apache.org>.
mattisonchao commented on issue #13019:
URL: https://github.com/apache/pulsar/issues/13019#issuecomment-985334192
i can work on it :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] fantapsody commented on issue #13019: pulsar-io-elasticsearch-sink support rolling create index
Posted by GitBox <gi...@apache.org>.
fantapsody commented on issue #13019:
URL: https://github.com/apache/pulsar/issues/13019#issuecomment-988839329
Hi @mattisonchao , any updates on this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] mark4z commented on issue #13019: pulsar-io-elasticsearch-sink support rolling create index
Posted by GitBox <gi...@apache.org>.
mark4z commented on issue #13019:
URL: https://github.com/apache/pulsar/issues/13019#issuecomment-988944787
May I can fix it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org