Jovi

0 声望

这家伙太懒,什么都没留下

个人动态
  • 半兽人 回复 Jovikafka3.3.1通过nginx代理后,生产数据报错NOT_LEADER_OR_FOLLOWER 中 :

    org.apache.kafka.common.errors.NotLeaderOrFollowerException: For requests intended only for the leader, this error indicates that the broker is not the current leader. For requests intended for any replica, this error indicates that the broker is not a replica of the topic partition.

    意思是当前的发送的topic分区不是leader,所以我是怀疑你的映射错乱了,导致的。

    另外中间加一个nginx做代理会影响效率的,最后你的配置还是太少,可以参考 如何从外部访问私网上的kafka集群? 丰富你的参数,尝试解决你的问题。

    1年前
  • 熊猫 回复 Jovikafka实战kerberos(笔记) 中 :

    解决了吗?这个问题如何解决?

    6年前
  • Jovikafka实战kerberos(笔记) 发表评论:

    我启动之后显示认证失败,这是什么问题?

    ERROR An error: (java.security.PrivilegedActionException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7) - LOOKING_UP_SERVER)]) occurred when evaluating Zookeeper Quorum Member's  received SASL token. Zookeeper Client will go to AUTH_FAILED state. (org.apache.zookeeper.client.ZooKeeperSaslClient)
    ERROR SASL authentication with Zookeeper Quorum member failed: javax.security.sasl.SaslException: An error: (java.security.PrivilegedActionException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7) - LOOKING_UP_SERVER)]) occurred when evaluating Zookeeper Quorum Member's  received SASL token. Zookeeper Client will go to AUTH_FAILED state. (org.apache.zookeeper.ClientCnxn)
    INFO zookeeper state changed (AuthFailed) (org.I0Itec.zkclient.ZkClient)
    INFO Terminate ZkClient event thread. (org.I0Itec.zkclient.ZkEventThread)
    FATAL Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
    org.I0Itec.zkclient.exception.ZkAuthFailedException: Authentication failure
    
    6年前
  • Jovikafka认证和acl 发表评论:

    我启动之后显示认证失败,这是什么问题?

    [2018-04-16 15:53:06,016] ERROR An error: (java.security.PrivilegedActionException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7) - LOOKING_UP_SERVER)]) occurred when evaluating Zookeeper Quorum Member's  received SASL token. Zookeeper Client will go to AUTH_FAILED state. (org.apache.zookeeper.client.ZooKeeperSaslClient)
    [2018-04-16 15:53:06,016] ERROR SASL authentication with Zookeeper Quorum member failed: javax.security.sasl.SaslException: An error: (java.security.PrivilegedActionException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7) - LOOKING_UP_SERVER)]) occurred when evaluating Zookeeper Quorum Member's  received SASL token. Zookeeper Client will go to AUTH_FAILED state. (org.apache.zookeeper.ClientCnxn)
    [2018-04-16 15:53:06,016] INFO zookeeper state changed (AuthFailed) (org.I0Itec.zkclient.ZkClient)
    [2018-04-16 15:53:06,016] INFO Terminate ZkClient event thread. (org.I0Itec.zkclient.ZkEventThread)
    [2018-04-16 15:53:06,017] FATAL Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
    org.I0Itec.zkclient.exception.ZkAuthFailedException: Authentication failure
    
    6年前