Exception when running Examples\Misc
See original GitHub issueDescription
Confluent.Kafka.KafkaException: ‘Local: Broker transport failure’ at Confluent.Kafka.Impl.SafeKafkaHandle.ListGroupsImpl(String group, Int32 millisecondsTimeout) at Confluent.Kafka.Producer.ListGroups(TimeSpan timeout)
How to reproduce
- Install kafka + zookepeer locally on Win10 (from https://github.com/renukaradhya/confluentplatform)
- Start servers
- Produce few messages to a topic called “test” (using the SimpleProducer example - works fine, confirmed with SimpleConsumer)
- Run the provided Misc example with
localhost --list-groups
Checklist
Please provide the following information:
- Confluent.Kafka nuget version: 0.11.0
- Apache Kafka version: 0.11
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
java - Getting following error while executing ...
I have added Ignite -schedule module in pom with version 1.0.0 but still getting this error. – Rhishi. Dec 20, 2017 at 16:17...
Read more >Exception handling in a program that needs to run 24/7
I have read that we should only catch exceptions that can be handled, which makes catching the base exception class (C# in this...
Read more >TrayIconDemo.java
printStackTrace(); } catch (IllegalAccessException ex) { ex. ... invokeLater(new Runnable() { public void run() { createAndShowGUI(); } }); } private static ...
Read more >[jira] [Comment Edited] (IGNITE-1722) Many examples fail ...
Thread.run(Thread.java:745) Caused by: class org.apache.ignite.IgniteException: Failed to serialize object: C4 [] at org.apache.ignite.internal.util.
Read more >Build windows service from java application with procrun
Recently, I needed to adjust a Java application to be able to run as a Windows service which is the Windows equivalent to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Note first that the repo you use seems to be confluent 3.0.1, so kafka 0.10.0.1 - are you sure it’s kafka 0.11? This should not be a problem whatever. For info, the apache kafka release content proper windows file, distributed for convenience - the confluent package does not works well as support of windows is not provided for the moment.
I have no problem on my side, on windows 10, with kafka 0.11 and confluent-kafka-dotnet 0.11.
Broker transport failure indicates that you could not contact broker - can you confirm the brokers where up (for example, you could properly produce messages after you had this issue?)
You can add the configuration “debug”, “broker” to configuration dictionary to get more details and post it here
This solved my problem…