-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
about About Multiple Indexers with kafka source config #3927
Comments
Hi @yangshike We indeed need a good example in our docs on this (cf #3923). version: 0.6
source_id: kafka-source
source_type: kafka
max_num_pipelines_per_indexer: 1
desired_num_pipelines: 4
params:
topic: logs
client_params:
bootstrap.servers: broker-1:9092,broker-2:9092 See this docs page to have details about the source parameters. Does this help? |
yes, I almost configured it this way, but I want to know if the indexer needs special configuration? this is my indexer config:
|
No, the indexer does not need a special configuration. You should check that your indexers form a cluster though. You can have a look at the logs and the output of |
Additional question: did you start one or several nodes that play the roles of metastore/control plane/janitor? |
no,I only have one node that has started these services |
Ok, so it should work if this node and the two indexers form a cluster. |
max_num_pipelines_per_indexer: 1 Just add these two parameters. I didn't have these two configurations just now |
Ok! Can you confirm if it works with those parameters? |
Yes, it can work normally now. Now there are two more questions:
|
You can see the offsets by partition in the metastore. You can do a If you're using the 0.6.4, Quickwit will not inform Kafka that documents has been indexed up to a given offset (commit on Kafka side). It was added recently (#3638) |
Currently, It's not possible start indexing from a specific offset in Quickwit, unless you enter that information manually in the metastore.
|
ok, thank you very much! |
You're welcome! Closing in favor of #3923 |
hi,
I want to configure multiple indexers for the Kafka source, but I couldn't find multiple indexer configuration documents
I have a node that is started through quickwit run -- config config.yaml (which already includes an indexer, kafka source, and some other ingest indexing methods),
I would like to start a separate indexer service to connect to this cluster and only serve as the second indexer for Kafka source,
I tried to start the second node, but on the Kafka end, I saw that only one node was consuming data at the same time
The text was updated successfully, but these errors were encountered: