Kafka producer initalization using event Listner plugin makes gravitino unresponsive #8746
Replies: 4 comments
-
|
@FANNG1 cc |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Gravitino stops accepting requests. API's doesn't work. In short gravitino doesn't start up. I identified the issue as the dependency of kafka-client was not bundled as part of the jar I provided. Yet instead of not throwing an error ClassNotFound it became idle. Once I added the depedncy the issue was resolved. This was raised as a bug as well but closing this now since issue has been identified. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team, I was trying to use the event listner plugin in gravitino for capturing the events and sending to kafka topic. But when I initalize the kafka producer in init method it makes the gravitino unresponsive. Iam using kafka client 4.0.0.
Here is the code snipet in init method.
Whole gravitino becomes unresponsive when this is
kafkaProducer = new KafkaProducer<>(kafkaProperties);is executed.Below is the gravitino logs.
Is there any recommended approach or restrictions while using EventListenerPlugin?
Beta Was this translation helpful? Give feedback.
All reactions