How to create one kafka source, multiple indexes #5453
-
I'm a quickwit newbie。in my case, We have about 50T of data a day。We need to store this data in different indexes according to servername classification to facilitate quick query.
But Ingest API does not support HA, and the performance is not satisfactory。
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Creating one kafka source to feed different indexes is not really possible. painful workaround 1: workaround 2: |
Beta Was this translation helpful? Give feedback.
-
We don't have a tutorial explaining that, but you can see some explanation in You need to set 3 things.
|
Beta Was this translation helpful? Give feedback.
-
you need |
Beta Was this translation helpful? Give feedback.
Creating one kafka source to feed different indexes is not really possible.
painful workaround 1:
Create one source per index and use transform to filter out the message not targetted for your index.
If you have N index, your data will be read from kafka N times instead of 1. This is VERY inefficient as N grows.
workaround 2:
If you have the same document mapping for all indexes and you wanted different indexes for search efficiency only, one thing you can do is have a single index and use partitioning.