此日志可通过生产者客户端中的debug=all
配置获得,用于融合云。confluent-kafka-python
如何ProduceResponse
解析rtt
?可以使用on_delivery
回调来完成吗?
|RECV|rdkafka#producer-1| [thrd:sasl_ssl://b4-confluent-cloud-broker:9092/4]: sasl_ssl://b4-confluent-cloud-broker:9092/4: Received ProduceResponse (v7, 62 bytes, CorrId 31, rtt 323.28ms)