-
Notifications
You must be signed in to change notification settings - Fork 213
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
Error "The broker does not support DESCRIBE_CONFIGS" #61
Comments
Error message is accurate, DESCRIBE_CONFIGS is in fact not supported. We're aware that it's a blocker for some Kafka applications (not just for the Debezium connector) - it will be implemented in the near future. Note to readers - DESCRIBE_CONFIGS is not needed for base Kafka functionality. |
Thanks a lot Arthur. Any timeframe that you can share? Thanks! |
No exact timeframe I can give you now. We're aware it's heavily utilized by a large portion of Kafka extensions so it's relatively high priority on the roadmap. |
Yeah! :) |
No problem. Do you mean a sample for running kafdrop UI against Event Hubs for Kafka? Or a sample consumer? I can provide either. |
@conorr I was thinking the kafdrop UI config. I'll be adding a repo folder with configs for management tooling and this looks like an interesting addition. |
Save config to
Pull kafdrop docker image (the docker pull obsidiandynamics/kafdrop:3.22.0-SNAPSHOT Run the container, referencing the docker run -d --rm -p 9000:9000 \
-e KAFKA_BROKERCONNECT=your-event-hubs-namespace.servicebus.windows.net:9093 \
-e KAFKA_PROPERTIES=$(cat kafka.properties | base64) \
obsidiandynamics/kafdrop:3.22.0-SNAPSHOT This will run kafdrop UI at http://localhost:9000. |
We've added a handler for DescribeConfigs. I'll try out kafdrop now. |
I confirm the DescribeConfigs fix. I used an older version of the kafdrop docker image that didn't have my workaround fix. Thank you! |
Broker-level configs need support. |
Hi @arerlend, can I understand the current state of this issue? I was using the same kafka connect plugin The error looks like this, and I high suspect it fails when trying to get broker config from calling adminclient describeConfigs method.
The code snippet,
|
Hi @arerlend Good day! Is there any update for this issue? |
@ywchang we haven't implemented adding broker-level configs to the configs yet. Is this blocking a required production scenario for you? |
Hi @arerlend For me, the scenario is that we are using Debezium Kafka Connector with Azure Event Hub to extract data from a external database to Event Hub in production environment. The Debezium will query the broker config to get a replication settings before using its default value. Since the Event Hub hasn't supported this query, an exception will be thrown using the official debezium. I have to fork the repo and do some code changes to make it work through. So just wondering if there is a timeline for this so that we can avoid changing the source code. |
Hi @arerlend, |
Hi @arerlend - any recent update on this? I receive the same "org.apache.kafka.connect.errors.ConnectException: Creation of database history topic failed, please create the topic manually" error when connecting Debezium (Kafka-Connect) in Azure Event Hubs. There is a workaround listed in #53 which is to add the following to the connector configuration: "database.history":"io.debezium.relational.history.MemoryDatabaseHistory" My understanding is that this would store the database history in memory, which probably won't survive a restart. During some research, it looks like it may be possible to switch the above to: "database.history":"io.debezium.relational.history.FileDatabaseHistory",
"database.history.file.filename":"history.dat" And I'm assuming that the database history would then be able to survive a restart. (initial tests indicate this does survive a restart of the container). Overall, it would be ideal if no additional workaround was required. Anyone have any thoughts on this? |
@ssugar, what are you asking? if it is ideal that azure not completely support the kafka endpoint, because we can use
|
@yehudamakarov - I wasn't asking anything, was just saying it would be ideal if EventHubs provided a kafka endpoint that didn't require any workaround |
Ah!! :) ok great we are definitely on the same page!
…On Apr 28, 2021, 22:19 -0400, ssugar ***@***.***>, wrote:
@yehudamakarov - I wasn't asking anything, was just saying it would be ideal if EventHubs provided a kafka endpoint that didn't require any workaround
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@yehudamakarov @arerlend Is there any update available on whether Azure Event Hubs now supports broker-level configs for DESCRIBE_CONFIGS requests? I'm trying to determine whether or not the workaround for Debezium is still required. |
Description
When using Debezium, which is a Kafka Connect connector, I get the error "The broker does not support DESCRIBE_CONFIGS", when trying to use Event Hub to store schema changes. See Issue #53 which has been closed but, though a workaround (not saving the schema changes) has been found, the problem is still there and prevents a full debezium usage.
How to reproduce
Setup Debezium to use EventHub instead of Kafka
Has it worked previously?
No
Checklist
IMPORTANT: We will close issues where the checklist has not been completed.
Please provide the following information:
Debezium Tutorial
2.2.0
none
The text was updated successfully, but these errors were encountered: