Is it possible to notify
the Consumer
, once the Producer
publish all the data to Kafka topic
?
There are possibilities the same data( with some unique field) is available in multiple partitions, so i need to group the data and do some calculation.
I thought of using Sliding window
for this, but still the problem is we don't know whether the Producer is completed publishing the data?
The amount of messages is around 50K
, Does Kafka can handle 50K messages[Single partition]
in seconds if we have brokers with better configurations?
Currently, we are planning to have multiple partitions to split the data based on Default Partitioner
.
Any efficient way to handle this?
Update:
Every fifteen minutes once, the producer gets the data and it start publish the data to Kafka topic, i am sure this is a use case for batch, but this is our current design.