anchor.diff:  
   Kafka 2.0 introduced an `AdminClient` class which contains a very useful
   https://kafka.apache.org/20/javadoc/org/apache/kafka/clients/admin/AdminClient.html#listConsumerGroupOffsets-java.lang.String-org.apache.kafka.clients.admin.ListConsumerGroupOffsetsOptions-[listConsumerGroupOffsets] method.
  -This method returns for a given consumer group a dictionnary _(topic name, partition) -> current offset_
  +This method returns for a given consumer group a dictionary _(topic name, partition) -> current offset_
   
   [source, java]
   ----
  
positive.code: The `KafkaConsumer` class contains an
  https://kafka.apache.org/20/javadoc/org/apache/kafka/clients/consumer/KafkaConsumer.html#endOffsets-java.util.Collection-[endOffsets] method
  to get the end offset of a topic partition.
  It returns a dictionnary _(topic name, partition) -> end offset_
  
  [source, java]
  ----
  
negative.code: :page-description: "How to retrieve Kafka consumer lag with Java API."
  
  This article shows how to get Kafka lag for a given consumer group using the Java API.
  It's about implementing part of the `kafka-consumer-group` command-line tool in pure Java.
  
  image::{imagedir}/lag.svg[Consumer Lag]
  
  