Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将 Kafka 消息发布到 API,但仅当主题有新的(未使用的)消息时,我需要知道未使用的消息的数量。有什么方法可以在 Kafka-python 中做到这一点吗?