1

I'm using kafka-connect-elasticsearch with a custom converter, which extends standard JsonConverter.
I have 250+ topics with different event types, thus i'm happy that kafka-connect automatically creates indices for me in elasticsearch.

However, I'd like to disable all analysers except for keyword-analyser (don't need full-text search here).
How can I do that? How and where can I manipulate index mappings?

In my custom converter I infer schema for my payload, convert it to kafka-connect-specific schema, and then return new SchemaAndValue(connectSchema, connectValue) object.
I suppose, connect-specific schema is then used to generate mappings, is that true?

Viacheslav Shalamov
  • 4,149
  • 6
  • 44
  • 66

0 Answers0