![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
kafka
JerryDyq
这个作者很懒,什么都没留下…
展开
-
kafka手动提交offset异常 org.apache.kafka.clients.consumer.CommitFailedException
最近做项目,需要手动提交kafka的offset,结果出现了下面的异常 1、异常 Exception in thread "Thread-2" org.apache.kafka.clients.consumer.CommitFailedException: Commit cannot be completed since the group has already rebalanced and...原创 2018-08-02 10:52:30 · 6235 阅读 · 0 评论 -
kafka 查看topic消费
sudo su su kafka 加证书前: cd home/kafka/software/kafka/bin ./kafka-console-consumer.sh --zookeeper localhost:2181 --topic monitor --from-beginning 加证书后: cd home/kafka/software/kafka/ ./bin/kaf...原创 2018-08-02 16:08:18 · 10036 阅读 · 2 评论 -
kafka证书验证时的开发配置(不含生成证书)
一、文件 1、krb5.conf 2、monitor_jaas.conf 3、 monitor.keytab krb5.conf [logging] default = FILE:/var/log/krb5libs.log kdc = localhost:88 admin_server = baspv02.ngsoc.lfk.360es.cn:749 [libdefaults]...原创 2018-08-02 16:14:47 · 984 阅读 · 0 评论 -
Kerberos 基本安装与配置
由于最近环境需要用到Kerberos认证,之前对Kerberos这块了解甚少,今天抽空自己手动安装一下Kerberos,以此加深对Kerberos的理解。 1 选择一台机器运行KDC,安装Kerberos相关服务 yum install -y krb5-devel krb5-server krb5-workstation 2 配置Kerberos,包括krb5.conf和kdc.co...转载 2018-08-02 17:15:08 · 1793 阅读 · 0 评论