QueueFullException typically occurs when the Producer attempts to send messages at a pace that the Broker cannot handle.
xxxxxxxxxx
@GetMapping(produces = MediaType.TEXT_EVENT_STREAM_VALUE, value = "/events")
public Flux<Event> getEvents()
{
return Flux.from(new Publisher<Event>() {
@Override
public void subscribe(Subscriber<? super Event> subscriber) {
while (true) {
try {
new Thread().sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
}
subscriber.onNext(new Event(1, new Date()));
}
}
});
}
https://www.projectpro.io/article/kafka-interview-questions-and-answers/438