In Java, the
consumer.poll method can return more than one messages at a time. (Assuming max.poll and other related properties are configured).
Something like this:
ConsumerRecords<String, String> records = consumer.poll(Duration.ofMillis(100));
Do we have similar method present in C# to consume more than one message at a time.
I am currently using
consumer. Consume() but it returns one message at a time.