question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception when running Examples\Misc

See original GitHub issue

Description

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

  1. Install kafka + zookepeer locally on Win10 (from https://github.com/renukaradhya/confluentplatform)
  2. Start servers
  3. Produce few messages to a topic called “test” (using the SimpleProducer example - works fine, confirmed with SimpleConsumer)
  4. 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:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
treziaccommented, Sep 2, 2017

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

0reactions
ttallskogcommented, Dec 13, 2017

This solved my problem…

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found