The github examples page for the Confluent Kafka library lists two methods, namely poll and consume. What is the difference between the two.
I did look at the Consumer implementation in the Confluent Kafka library here , and feel they're functionally the same, and differ only in terms of what they return.
Poll() calls consume() to see if there is a message ready to be picked up, and if yes, invokes the OnMessage event. Whereas, consume, saves the message in one of it's parameters, and returns a boolean. I feel difference is in implementation, and functionally they're the same https://github.com/confluentinc/confluent-kafka-dotnet/blob/master/src/Confluent.Kafka/Consumer.cs