Add _routing via document not query string

Hi ya,

I'm attempting to use Elasticsearch custom routing in conjunction with Confluent's Kafka Elasticsearch Sink. Every thing is going well until I've run into custom routing which it doesn't seem to support.

I can't find a way to modify the query string and i was wondering if it was possible to specify "_routing" somewhere in the document? That way my Elasticsearch sink doesn't need to know about it, i can just specify it in the document being passed to Elasticsearch.

Thanks for insights,

As far as I know this is not possible. I would recommend creating a feature request with the Kafka Elasticsearch sink.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.