'How to monitor size and last update time for Kafka topic

Is it possible using Java to determine the size of a topic (bytes) and the time of the last update (in timestamp)? Thanks!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source