问题
Is there a way to check the current total memory usage of all the messages in topic?
We have a retention policy set to a max number of bytes and we're trying to check if we are actually hitting max or not. We see that some messages are missing from the topic. We believe it might be because we hit the max size.
来源:https://stackoverflow.com/questions/62582720/how-to-check-kafka-topic-memory-usage