• Exception in thread "main" org.apache.kafka.common.KafkaException: Failed create new KafkaAdminClient


    [root@linux04 Downloads]# java -cp kafka001-1.0-SNAPSHOT.jar com.bw.Stream.Application
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    Exception in thread "main" org.apache.kafka.common.KafkaException: Failed create new KafkaAdminClient
        at org.apache.kafka.clients.admin.KafkaAdminClient.createInternal(KafkaAdminClient.java:370)
        at org.apache.kafka.clients.admin.AdminClient.create(AdminClient.java:62)
        at org.apache.kafka.streams.processor.internals.DefaultKafkaClientSupplier.getAdminClient(DefaultKafkaClientSupplier.java:34)
        at org.apache.kafka.streams.KafkaStreams.<init>(KafkaStreams.java:707)
        at org.apache.kafka.streams.KafkaStreams.<init>(KafkaStreams.java:628)
        at org.apache.kafka.streams.KafkaStreams.<init>(KafkaStreams.java:612)
        at org.apache.kafka.streams.KafkaStreams.<init>(KafkaStreams.java:602)
        at com.bw.Stream.Application.main(Application.java:38)
    Caused by: org.apache.kafka.common.config.ConfigException: No resolvable bootstrap urls given in bootstrap.servers
        at org.apache.kafka.clients.ClientUtils.parseAndValidateAddresses(ClientUtils.java:66)
        at org.apache.kafka.clients.admin.KafkaAdminClient.<init>(KafkaAdminClient.java:409)
        at org.apache.kafka.clients.admin.KafkaAdminClient.createInternal(KafkaAdminClient.java:363)

    
    

    kafka中的错误

    因为我的打的jar包中找不到 主机名称  记得改成自己的

  • 相关阅读:
    C#之流程控制
    UML画图总结以及浅谈UNL九种图
    UML视频总结
    英语总结
    UML coming
    那天我把“小四”拆了
    first 关于文档(总结)
    机房收费需求分析文档
    梦开始的地方
    WebRTC 开发实践:为什么你需要 SFU 服务器
  • 原文地址:https://www.cnblogs.com/JBLi/p/11360075.html
Copyright © 2020-2023  润新知