zoukankan      html  css  js  c++  java
  • 安装kafka 记录


    sudo ./zoo /zoo /bin/zkServer.sh start

    sudo ./kafkacluster/kafka1/bin/kafka-server-start.sh ./kafkacluster/kafka1/config/server.properties &

    sudo ./kafkacluster/kafka1/bin/kafka-topics.sh --list --zookeeper localhost:3003

    kafka-topics.bat --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic test

    cd /opt
    sudo ./zookeepercluster/zookeeper-3.4.10-1/bin/zkServer.sh start &
    sudo ./zookeepercluster/zookeeper-3.4.10-2/bin/zkServer.sh start &
    sudo ./zookeepercluster/zookeeper-3.4.10-3/bin/zkServer.sh start &

    (sudo ./kafkacluster/kafka1/bin/kafka-server-start.sh ./kafkacluster/kafka1/config/server.properties) &
    (sudo ./kafkacluster/kafka2/bin/kafka-server-start.sh ./kafkacluster/kafka2/config/server.properties) &
    (sudo ./kafkacluster/kafka3/bin/kafka-server-start.sh ./kafkacluster/kafka3/config/server.properties) &


    ./kafka-console-producer.sh --broker-list localhost:9092 --topic test1234

    ./kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic test1234 --from-beginning

    windows


    .inzkServer.cmd

    查找库依赖
    ldd ~/.nuget/packages/librdkafka.redist/0.9.4/runtimes/rhel-x64/native/librdkafka.so

    liblz4

    yumdownloader libunwind libicu
    yumdownloader epel-release

    yumdownloader lz4

    rpm -ivh libunwind***.rpm

    liblz4

  • 相关阅读:
    4d
    加载数据
    刘亮给的帮助
    加载数据
    选中并高亮显示
    ArcEngine
    接口编程
    好的参考文献
    在本地安装 wordpress
    C#读取EXCEL数据
  • 原文地址:https://www.cnblogs.com/Martianhh/p/7655454.html
Copyright © 2011-2022 走看看