• 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)

  • 相关阅读:
    MVC 下载相关
    中缀、前缀和后缀表达式
    什么是堆栈?
    为什么和其他语言相比C语言是快速的语言
    什么是回溯法?
    产生n bit所有可能的序列
    讨论汉诺塔之谜
    递归和内存分配(可视化)
    关于递归
    随机数产生函数的范围转换
  • 原文地址:https://www.cnblogs.com/rgqancy/p/14973474.html
Copyright © 2020-2023  润新知