Replies: 1 comment
|
Have you solved this? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I asked this question on Stack Overflow, but didn't get any response. I am copy-pasting it here with some relevant modifications.
The Problem In a nutshell:
It's my first use of Kafka-go. I installed everything locally with the default configuration on a clean machine and used the very first two code samples: Produce Messages and Consume Messages as follows. But I got the following error:
failed to close batch:[7] Request Timed Out: the request exceeded the user-specified time limit in the requestThe Problem With More Details:
I downloaded Kafka-go and created a very simple project that only produces three messages, consumes them, and closes the batch (+connect+disconnect).
Please note that I just copy-pasted the code from the main page.
However, whenever trying to close the batch session, I am getting the following result (after waiting a bunch of seconds):
Well, that's nice so far, but this is always followed by the following error.
For your consideration, I used the following env:
Question:
Why is it failing to close the batch (why is it timed out)?
All reactions