zzzz465 opened a new issue, #20771: URL: https://github.com/apache/pulsar/issues/20771
### Search before asking - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar. ### Motivation I use apache pulsar for moving various logs such as infra, system, service, and other logs. I split them using pulsar namespace, and search in elasticsearch. but when using es sink connector, topics split by namespace are re-merged by topic name because we cannot use namespace for templating. to avoid that currently I putting namespace name in topic for es, but I think this is quite disturbing. ### Solution https://github.com/apache/pulsar/blob/master/pulsar-io/elastic-search/src/main/java/org/apache/pulsar/io/elasticsearch/IndexNameFormatter.java support namespace substitution along with time partitioning. ### Alternatives _No response_ ### Anything else? _No response_ ### Are you willing to submit a PR? - [X] I'm willing to submit a PR! -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
