Closed mohitreddy1996 closed 1 year ago
/assign @jaime0815 /unassign
Hi, any updates here?
This blocks us from productionizing Milvus on our Kubernetes cluster with existing Kafka setup. Anything we could help with here?
@jaime0815 any updates?
Anyone interested to implement on it?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Rotten issues close after 30d of inactivity. Reopen the issue with /reopen
.
I've installed milvus v2.1.1 via helm chart(v3.1.9) with external kafka configured and I'm facing the same Issue. Here's what I got upon creating collection with pymilvus
. Here's what I got in logs of datacoord
[2022/09/02 07:29:16.281 +00:00] [ERROR] [kafka/kafka_consumer.go:143] ["consume msg failed"] [topic=by-dev-datacoord-timetick-channel] [groupID=by-dev-dataCoord] [error="by-dev-datacoord-timetick-channel [0]: topic does not exist (Broker: Unknown topic or partition)"] [stack="github.com/milvus-io/milvus/internal/mq/msgstream/mqwrapper/kafka.(*Consumer).Chan.func1.1\n\t/go/src/github.com/milvus-io/milvus/internal/mq/msgstream/mqwrapper/kafka/kafka_consumer.go:143"]
[2022/09/02 07:29:17.281 +00:00] [ERROR] [kafka/kafka_consumer.go:143] ["consume msg failed"] [topic=by-dev-datacoord-timetick-channel] [groupID=by-dev-dataCoord] [error="by-dev-datacoord-timetick-channel [0]: topic does not exist (Broker: Unknown topic or partition)"] [stack="github.com/milvus-io/milvus/internal/mq/msgstream/mqwrapper/kafka.(*Consumer).Chan.func1.1\n\t/go/src/github.com/milvus-io/milvus/internal/mq/msgstream/mqwrapper/kafka/kafka_consumer.go:143"]
[2022/09/02 07:29:18.358 +00:00] [ERROR] [kafka/kafka_consumer.go:143] ["consume msg failed"] [topic=by-dev-datacoord-timetick-channel] [groupID=by-dev-dataCoord] [error="by-dev-datacoord-timetick-channel [0]: topic does not exist (Broker: Unknown topic or partition)"] [stack="github.com/milvus-io/milvus/internal/mq/msgstream/mqwrapper/kafka.(*Consumer).Chan.func1.1\n\t/go/src/github.com/milvus-io/milvus/internal/mq/msgstream/mqwrapper/kafka/kafka_consumer.go:143"]
[2022/09/02 07:29:19.287 +00:00] [ERROR] [kafka/kafka_consumer.go:143] ["consume msg failed"] [topic=by-dev-datacoord-timetick-channel] [groupID=by-dev-dataCoord] [error="by-dev-datacoord-timetick-channel [0]: topic does not exist (Broker: Unknown topic or partition)"] [stack="github.com/milvus-io/milvus/internal/mq/msgstream/mqwrapper/kafka.(*Consumer).Chan.func1.1\n\t/go/src/github.com/milvus-io/milvus/internal/mq/msgstream/mqwrapper/kafka/kafka_consumer.go:143"]
Any solutions?
Anyone interested to implement on it?
Could you elaborate and tell us how we should know each of the topic needed so that we could create them manually in external kafka deployment? https://github.com/milvus-io/milvus/discussions/17110
Having the same issue here. Please reopen this.
I guess this is roughly where one would create the topic? https://github.com/milvus-io/milvus/blob/7406cd3393377c786776e6d39ba2155c51c51605/internal/mq/msgstream/mq_msgstream.go#L106
@xiaofan-luan any plan for this
Having the same issue here. Please reopen this.
I second this. External kafka is currently not usable yet it's an already implemented feature in Milvus v2.1.1.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Rotten issues close after 30d of inactivity. Reopen the issue with /reopen
.
/reopen
We have some requirements for kafka broker settings:
1. enable topic create
2. set default topic partition number to 1
3. increase the `message.max.bytes=10485760` ,`replica.fetch.max.bytes=10485760`
@mohitreddy1996 We've used confluent kafka, you should manually change the broker config.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Rotten issues close after 30d of inactivity. Reopen the issue with /reopen
.
Still relevant, please reopen.
agreed, this is relevant
Facing same issue, topics are not getting created, and that makes externalKafka option useless at least until someone will publish list of topics Milvus needs to start
/assign @smellthemoon
any update?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Rotten issues close after 30d of inactivity. Reopen the issue with /reopen
.
/assign @smellthemoon how it this feature going?
keep it, this is a very important issue
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Rotten issues close after 30d of inactivity. Reopen the issue with /reopen
.
keep it for now
I encountered the same issue when using AWS managed Kafka (MSK) as external Kafka. By changing MSK's property auto.create.topics.enable from false
to true
, the issue can be resolved. See - https://docs.aws.amazon.com/msk/latest/developerguide/msk-configuration-properties.html
auto.create.topics.enable=true
I encountered the same issue when using AWS managed Kafka (MSK) as external Kafka. By changing MSK's property auto.create.topics.enable from
false
totrue
, the issue can be resolved. See - https://docs.aws.amazon.com/msk/latest/developerguide/msk-configuration-properties.html
auto.create.topics.enable=true
Good to know. We should be able to specify user channels for now. @smellthemoon is there any document for it?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Rotten issues close after 30d of inactivity. Reopen the issue with /reopen
.
Is there an existing issue for this?
Environment
Current Behavior
With external kafka configured, Topics required for inter-server communication are not created, but are delegated to the kafka consumers which are configured with
allow.auto.create.topics
- https://github.com/milvus-io/milvus/blob/master/internal/mq/msgstream/mqwrapper/kafka/kafka_client.go#L121Expected Behavior
With confluent managed kafka clusters, configuring behavior is currently not supported for the "Basic" and "Standard" clusters [1]. Also it seems that configuring this, may not result in intended behavior, see - https://github.com/confluentinc/confluent-kafka-go/issues/615
It would be great if these topics are created as part of the producer (this operation possibly could be made idempotent?) creation.
[1] https://docs.confluent.io/cloud/current/clusters/broker-config.html#ccloud-cluster-and-topic-configuration-settings
Steps To Reproduce
CreateCollection
method. This fails with:datacoord
service/pod, we see:Milvus Log
No response
Anything else?
No response