confluent python kafka 这个的问题是 文档写的不清楚,且是.so 的封装, 看源码都看不了. 譬如
classconfluent_kafka.Producer Asynchronous Kafka Producer Producer(config) Parameters config (dict) Configuration properties. At a minimum bootstrap.servers should be set Create a new Producer instance using the provided configuration dict.
我想看看 config 都有啥都不知道.
kafka-python 这个最近两年没更新了 兼容性测试只到 python3.8
没有其他选择了. 其他的都是好几年不更新的.
仿佛进入了死胡同.
![]() | 1 SbloodyS 2022-09-29 21:11:45 +08:00 |
![]() | 2 chaleaochexist OP @SbloodyS 这个文档 看不懂. 参数都不知道有哪些? 请问大佬是如何解决这个问题的? |
![]() | 3 calmzhu 2022-09-29 21:42:26 +08:00 ![]() 同推荐 confluent 的很棒。 文档先看 kfaka 本身的文档,知道要哪些参数以及参数的含义后。再来看封装库的就好懂了 |
![]() | 4 SbloodyS 2022-09-30 09:52:12 +08:00 ![]() |
![]() | 5 SbloodyS 2022-09-30 09:52:51 +08:00 ![]() @chaleaochexist 看这个哇 |
6 tfull 2022-09-30 09:53:46 +08:00 ![]() 我用 kafka-python , 历史原因。现在的话,应该会选 confluent |