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)

  • 相关阅读:
    [JZOJ3386] 守卫者的挑战
    [JZOJ3385] 黑魔法师之门
    [JZOJ3383] 太鼓达人
    [JZOJ3382] 七夕祭
    NOIP模拟测试on 2019.9.27
    数据结构测试2 on 2019.9.25
    数据结构测试1 on 2019.9.24
    P2047 [NOI2007]社交网络
    P2286 [HNOI2004]宠物收养场
    P1342 请柬 建反图+dijkstra
  • 原文地址:https://www.cnblogs.com/rgqancy/p/14973474.html
Copyright © 2011-2022 走看看