zoukankan      html  css  js  c++  java
  • spotify kafka on zookeeper

    PS C:UsersAdministrator> docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:latest
    PS C:UsersAdministrator> docker run -p 127.0.0.1:3307:3307 --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:latest
    PS C:UsersAdministrator> docker pull spotify/kafka
    PS C:UsersAdministrator> docker run -p 2181:2181 -p 9092:9092 --env ADVERTISED_HOST=192.168.1.8 --env ADVERTISED_PORT=9092 spotify/kafka
    /usr/lib/python2.7/dist-packages/supervisor/options.py:296: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
    'Supervisord is running as root and it is searching '
    2021-07-05 01:47:31,500 CRIT Supervisor running as root (no user in config file)
    2021-07-05 01:47:31,500 WARN Included extra file "/etc/supervisor/conf.d/kafka.conf" during parsing
    2021-07-05 01:47:31,501 WARN Included extra file "/etc/supervisor/conf.d/zookeeper.conf" during parsing
    2021-07-05 01:47:31,541 INFO RPC interface 'supervisor' initialized
    2021-07-05 01:47:31,541 CRIT Server 'unix_http_server' running without any HTTP authentication checking
    2021-07-05 01:47:31,541 INFO supervisord started with pid 1
    2021-07-05 01:47:32,546 INFO spawned: 'zookeeper' with pid 10
    2021-07-05 01:47:32,551 INFO spawned: 'kafka' with pid 11
    2021-07-05 01:47:33,646 INFO success: zookeeper entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
    2021-07-05 01:47:33,646 INFO success: kafka entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
    PS C:UsersAdministrator> docker run -p 2181:2181 -p 9092:9092 --name spotify_kafka --env ADVERTISED_HOST=192.168.1.8 --env ADVERTISED_PORT=9092 spotify/kafka
    /usr/lib/python2.7/dist-packages/supervisor/options.py:296: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
    'Supervisord is running as root and it is searching '
    2021-07-05 01:49:33,204 CRIT Supervisor running as root (no user in config file)
    2021-07-05 01:49:33,205 WARN Included extra file "/etc/supervisor/conf.d/kafka.conf" during parsing
    2021-07-05 01:49:33,205 WARN Included extra file "/etc/supervisor/conf.d/zookeeper.conf" during parsing
    2021-07-05 01:49:33,248 INFO RPC interface 'supervisor' initialized
    2021-07-05 01:49:33,249 CRIT Server 'unix_http_server' running without any HTTP authentication checking
    2021-07-05 01:49:33,250 INFO supervisord started with pid 1
    2021-07-05 01:49:34,254 INFO spawned: 'zookeeper' with pid 11
    2021-07-05 01:49:34,260 INFO spawned: 'kafka' with pid 12
    2021-07-05 01:49:35,352 INFO success: zookeeper entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
    2021-07-05 01:49:35,353 INFO success: kafka entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

  • 相关阅读:
    使用pwn_deploy_chroot部署国赛pwn比赛题目
    《Java程序设计》第十一章 JDBC与MySQL数据库
    使用commons.cli实现MyCP
    2018-2019-2 20175211 实验二《Java面向对象程序设计》实验报告
    结对编程练习_四则运算(第二周)
    20175211 2018-2019-2 《Java程序设计》第六周学习总结
    20175211 2017-2018-2 《Java程序设计》第六周学习记录(2)
    海思Hi35xx平台调试笔记
    ffmpeg,rtmpdump和nginx rtmp实现录屏,直播和录制
    文件传输(xmodem协议)
  • 原文地址:https://www.cnblogs.com/rgqancy/p/14973474.html
Copyright © 2011-2022 走看看