Kafka - Consumers
What is wrong with this code snippet that attempts to commit offsets asynchronously?
consumer.commitAsync(new OffsetCommitCallback() {
public void onComplete(Map offsets, Exception e) {
System.out.println("Offsets committed");
}
}); 