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

  • 相关阅读:
    Linux环境下搭建Git仓库
    Linux环境下安装zookeeper
    nginx: [error] open() "/var/run/nginx/nginx.pid" failed (2: No such file or directory)
    Dart语言特性必备了解!
    Flutter中打造多行列列表GridView组件的使用
    Flutter常用组件(Widget)解析-Scaffold
    Flutter常用组件(Widget)解析-ListView
    Flutter常用组件(Widget)解析-Image
    Flutter常用组件(Widget)解析-Text
    Flutter常用组件(Widget)解析-Container
  • 原文地址:https://www.cnblogs.com/rgqancy/p/14973474.html
Copyright © 2020-2023  润新知