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)

  • 相关阅读:
    函数的参数设置
    定义函数
    使用dict和set
    (转)set集合的应用
    循环与range
    if语句
    How to use git hub
    Install pyodbc in OpenSUSE
    Ubuntu编译安装PHP7
    Ubuntu为已经安装的PHP7单独编译mysqli
  • 原文地址:https://www.cnblogs.com/rgqancy/p/14973474.html
Copyright © 2011-2022 走看看