-
## By ChatGPT
### Producer.py
```python
from kafka import KafkaProducer
import json
def send_message_to_kafka(message, topic='chatbot_topic'):
producer = KafkaProducer(
bootstrap_…
-
Hi, there is a bug in the [KafkaProducer#sendAwait](https://github.com/nomisRev/kotlin-kafka/blob/main/src/main/kotlin/io/github/nomisRev/kafka/Producer.kt#L85).
It checks whether the returned `Re…
-
Description
===========
I am trying to get an exception when the producer isn't able to connect to kafka cluster.
The code outputs the error into the console but I need an error code or exception f…
-
java.lang.NoClassDefFoundError: Failed resolution of: Ljava/lang/management/ManagementFactory;
at …
-
**Describe the bug**
If I have a RecordValidationFilter with `forwardPartialRequests` enabled, and a producer that is producing lots of zero-ack produce requests we are leaking memory.
1. We put…
-
I create a KafkaSender and give it a Flux that produces records. In the onFinally() of the Flux I close (`.close()`) the sender.
I observe that the Kafka library says that it prefers the close(…
-
Where are the steps or guide to publish a message? Is the feature disabled?
When ever I try to select a publish message icon, I always get the below error
Missing required configuration "schema.reg…
-
There's an asymmetry right now between avro kafka consume and produce, such that we can read in an enum, but we can't write out an enum. When we read in the enum, it is read in as a String; when we tr…
-
Similarly to #234, it would be useful to provide functions for creating test `KafkaProducer`s.
A good first function would be one which yields somewhat sensible default `RecordMetadata`.
```scal…
-
I'm encountering an issue with importing KafkaProducer from the kafka module. Here's the code I'm using:
`from kafka import KafkaProducer`
The error message I'm receiving is: "cannot import name…