02 2022 档案
摘要:[2022-02-20 23:45:20,615] WARN [SocketServer brokerId=0] Unexpected error from /62.233.50.133; closing connection (org.apache.kafka.common.network.Sel
阅读全文
摘要:官方网站:https://kafka.apache.org/26/javadoc/org/apache/kafka/clients/consumer/RangeAssignor.html 大概意思 范围分配器在每个主题的基础上工作。 对于每个主题,我们按数字顺序排列可用分区,按字典顺序排列消费者 然
阅读全文
摘要:bootstrap-servers broker 结点,格式:ip:port,多个节点之间用逗号分开 producer retries 设置大于零的值将导致客户端重发发送失败的记录,这些记录可能存在短暂错误 请注意,此重试与客户端在收到错误后重新发送记录没有什么不同 在不将 max.in.fligh
阅读全文
摘要:Exception while listening java.net.BindException: Cannot assign requested address (Bind failed) 需要在配置文件 zoo.cfg 中添加 quorumListenOnAllIPs=true 官方文档:htt
阅读全文
摘要:官方网站:https://docs.oracle.com/javase/7/docs/technotes/tools/share/jps.html The jps command supports a number of options that modify the output of the c
阅读全文
摘要:查看状态 systemctl status firewalld 启动防火墙 systemctl start firewalld 停止防火墙 systemctl stop firewalld 重启防火墙 systemctl restart firewalld 开机启动防火墙 systemctl ena
阅读全文