Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-4160

Container images for Apache Kafka and ZooKeeper fail to start up

    XMLWordPrintable

Details

    • False
    • False

    Description

      According to document of:https://hub.docker.com/r/debezium/zookeeper

      Use command:  docker run -it --name zookeeper -p 2181:2181 -p 2888:2888 -p 3888:3888 debezium/zookeeper

      Offical images cannot run normally, include: zookeeper and kafka

      error log are as follows:  Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain Caused by: java.lang.ClassNotFoundException: org.apache.zookeeper.server.quorum.QuorumPeerMain

      vmaster@vmasterdeMacBook-Pro-2:~/WorkSpace/IdeaSpace/debezium(1.7)$ docker run --rm --name zk -it debezium/zookeeper:1.7.0.Final
      Starting up in standalone mode
      /usr/bin/java
      ZooKeeper JMX enabled by default
      Using config: /zookeeper/conf/zoo.cfg
      Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain
      Caused by: java.lang.ClassNotFoundException: org.apache.zookeeper.server.quorum.QuorumPeerMain
      vmaster@vmasterdeMacBook-Pro-2:~/WorkSpace/IdeaSpace/debezium(1.7)$
      vmaster@vmasterdeMacBook-Pro-2:~/WorkSpace/IdeaSpace/debezium(1.7)$
      vmaster@vmasterdeMacBook-Pro-2:~/WorkSpace/IdeaSpace/debezium(1.7)$
      vmaster@vmasterdeMacBook-Pro-2:~/WorkSpace/IdeaSpace/debezium(1.7)$
      vmaster@vmasterdeMacBook-Pro-2:~/WorkSpace/IdeaSpace/debezium(1.7)$ docker run -it --name zookeeper -p 2181:2181 -p 2888:2888 -p 3888:3888 debezium/zookeeper:1.7.0.Final
      Starting up in standalone mode
      /usr/bin/java
      ZooKeeper JMX enabled by default
      Using config: /zookeeper/conf/zoo.cfg
      Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain
      Caused by: java.lang.ClassNotFoundException: org.apache.zookeeper.server.quorum.QuorumPeerMain
      vmaster@vmasterdeMacBook-Pro-2:~/WorkSpace/IdeaSpace/debezium(1.7)$
      

      Docker-compose error log as follows:

      zookeeper | Using config: /zookeeper/conf/zoo.cfg
      zookeeper | Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain
      zookeeper | Caused by: java.lang.ClassNotFoundException: org.apache.zookeeper.server.quorum.QuorumPeerMain
      zookeeper exited with code 1
      kafka | Error: Could not find or load main class kafka.Kafka
      kafka | Caused by: java.lang.ClassNotFoundException: kafka.Kafka
      connect | Error: Could not find or load main class org.apache.kafka.connect.cli.ConnectDistributed
      connect | Caused by: java.lang.ClassNotFoundException: org.apache.kafka.connect.cli.ConnectDistributed
      kafka exited with code 1
      connect exited with code 1

      vmaster@vmasterdeMacBook-Pro-2:~/Docker/debezium/debezium_sync/sync/dbz$ sh startup
      Creating network "dbz_default" with the default driver
      Creating zookeeper ... done
      Creating mysql     ... done
      Creating postgres  ... done
      Creating kafka     ... done
      Creating connect   ... done
      Creating prometheus ... done
      Creating grafana    ... done
      Attaching to zookeeper, mysql, postgres, kafka, connect, prometheus, grafana
      zookeeper     | Starting up in standalone mode
      zookeeper     | /usr/bin/java
      postgres      | The files belonging to this database system will be owned by user "postgres".
      postgres      | This user must also own the server process.
      postgres      |
      kafka         | WARNING: Using default NODE_ID=1, which is valid only for non-clustered installations.
      zookeeper     | ZooKeeper JMX enabled by default
      kafka         | Starting in ZooKeeper mode using NODE_ID=1.
      kafka         | Using ZOOKEEPER_CONNECT=zookeeper:2181
      kafka         | Using configuration config/server.properties.
      mysql         | 2021-10-15 12:19:28+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.26-1debian10 started.
      postgres      | The database cluster will be initialized with locale "en_US.utf8".
      connect       | Using BOOTSTRAP_SERVERS=kafka:9092
      kafka         | Using KAFKA_LISTENERS=PLAINTEXT://172.22.0.5:9092 and KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://172.22.0.5:9092
      zookeeper     | Using config: /zookeeper/conf/zoo.cfg
      prometheus    | level=info ts=2021-10-15T12:19:31.948435715Z caller=main.go:238 msg="Starting Prometheus" version="(version=2.4.3, branch=HEAD, revision=167a4b4e73a8eca8df648d2d2043e21bdb9a7449)"
      prometheus    | level=info ts=2021-10-15T12:19:31.94857339Z caller=main.go:239 build_context="(go=go1.11.1, user=root@1e42b46043e9, date=20181004-08:42:02)"
      mysql         | 2021-10-15 12:19:29+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
      connect       | Plugins are loaded from /kafka/connect
      postgres      | The default database encoding has accordingly been set to "UTF8".
      mysql         | 2021-10-15 12:19:29+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.26-1debian10 started.
      zookeeper     | Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain
      zookeeper     | Caused by: java.lang.ClassNotFoundException: org.apache.zookeeper.server.quorum.QuorumPeerMain
      prometheus    | level=info ts=2021-10-15T12:19:31.948792318Z caller=main.go:240 host_details="(Linux 4.9.125-linuxkit #1 SMP Fri Sep 7 08:20:28 UTC 2018 x86_64 1c0080af78ef (none))"
      postgres      | The default text search configuration will be set to "english".
      mysql         | 2021-10-15 12:19:29+00:00 [Note] [Entrypoint]: Initializing database files
      postgres      |
      connect       | Using the following environment variables:
      postgres      | Data page checksums are disabled.
      connect       |       GROUP_ID=1
      connect       |       CONFIG_STORAGE_TOPIC=my_connect_configs
      connect       |       OFFSET_STORAGE_TOPIC=my_connect_offsets
      connect       |       STATUS_STORAGE_TOPIC=my_connect_statuses
      connect       |       BOOTSTRAP_SERVERS=kafka:9092
      connect       |       REST_HOST_NAME=172.22.0.6
      connect       |       REST_PORT=8083
      connect       |       ADVERTISED_HOST_NAME=172.22.0.6
      connect       |       ADVERTISED_PORT=8083
      connect       |       KEY_CONVERTER=org.apache.kafka.connect.json.JsonConverter
      connect       |       VALUE_CONVERTER=org.apache.kafka.connect.json.JsonConverter
      connect       |       INTERNAL_KEY_CONVERTER=org.apache.kafka.connect.json.JsonConverter
      connect       |       INTERNAL_VALUE_CONVERTER=org.apache.kafka.connect.json.JsonConverter
      connect       |       OFFSET_FLUSH_INTERVAL_MS=60000
      connect       |       OFFSET_FLUSH_TIMEOUT_MS=5000
      connect       |       SHUTDOWN_TIMEOUT=10000
      prometheus    | level=info ts=2021-10-15T12:19:31.948991691Z caller=main.go:241 fd_limits="(soft=1048576, hard=1048576)"
      postgres      |
      mysql         | 2021-10-15T12:19:29.372943Z 0 [Warning] [MY-011070] [Server] 'Disabling symbolic links using --skip-symbolic-links (or equivalent) is the default. Consider not using this option as it' is deprecated and will be removed in a future release.
      mysql         | 2021-10-15T12:19:29.372956Z 0 [Warning] [MY-011068] [Server] The syntax 'expire-logs-days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
      mysql         | 2021-10-15T12:19:29.373044Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.26) initializing of server in progress as process 40
      prometheus    | level=info ts=2021-10-15T12:19:31.949237235Z caller=main.go:242 vm_limits="(soft=unlimited, hard=unlimited)"
      mysql         | 2021-10-15T12:19:29.390814Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
      connect       | --- Setting property from CONNECT_REST_ADVERTISED_PORT: rest.advertised.port=8083
      prometheus    | level=info ts=2021-10-15T12:19:31.962056291Z caller=main.go:554 msg="Starting TSDB ..."
      prometheus    | level=info ts=2021-10-15T12:19:31.962390605Z caller=web.go:397 component=web msg="Start listening for connections" address=0.0.0.0:9090
      connect       | --- Setting property from CONNECT_OFFSET_STORAGE_TOPIC: offset.storage.topic=my_connect_offsets
      postgres      | fixing permissions on existing directory /var/lib/postgresql/data ... ok
      mysql         | 2021-10-15T12:19:30.536345Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
      prometheus    | level=info ts=2021-10-15T12:19:31.986512716Z caller=main.go:564 msg="TSDB started"
      connect       | --- Setting property from CONNECT_KEY_CONVERTER: key.converter=org.apache.kafka.connect.json.JsonConverter
      prometheus    | level=info ts=2021-10-15T12:19:31.986718589Z caller=main.go:624 msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml
      connect       | --- Setting property from CONNECT_CONFIG_STORAGE_TOPIC: config.storage.topic=my_connect_configs
      zookeeper exited with code 1
      prometheus    | level=info ts=2021-10-15T12:19:31.991652597Z caller=main.go:650 msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml
      connect       | --- Setting property from CONNECT_GROUP_ID: group.id=1
      postgres      | creating subdirectories ... ok
      prometheus    | level=info ts=2021-10-15T12:19:31.99177814Z caller=main.go:523 msg="Server is ready to receive web requests."
      connect       | --- Setting property from CONNECT_REST_ADVERTISED_HOST_NAME: rest.advertised.host.name=172.22.0.6
      connect       | --- Setting property from CONNECT_REST_HOST_NAME: rest.host.name=172.22.0.6
      postgres      | selecting default max_connections ... 100
      connect       | --- Setting property from CONNECT_VALUE_CONVERTER: value.converter=org.apache.kafka.connect.json.JsonConverter
      postgres      | selecting default shared_buffers ... 128MB
      connect       | --- Setting property from CONNECT_REST_PORT: rest.port=8083
      connect       | --- Setting property from CONNECT_INTERNAL_VALUE_CONVERTER: internal.value.converter=org.apache.kafka.connect.json.JsonConverter
      postgres      | selecting default timezone ... Etc/UTC
      connect       | --- Setting property from CONNECT_STATUS_STORAGE_TOPIC: status.storage.topic=my_connect_statuses
      connect       | --- Setting property from CONNECT_OFFSET_FLUSH_TIMEOUT_MS: offset.flush.timeout.ms=5000
      connect       | --- Setting property from CONNECT_INTERNAL_KEY_CONVERTER: internal.key.converter=org.apache.kafka.connect.json.JsonConverter
      postgres      | selecting dynamic shared memory implementation ... posix
      connect       | --- Setting property from CONNECT_PLUGIN_PATH: plugin.path=/kafka/connect
      connect       | --- Setting property from CONNECT_OFFSET_FLUSH_INTERVAL_MS: offset.flush.interval.ms=60000
      connect       | --- Setting property from CONNECT_BOOTSTRAP_SERVERS: bootstrap.servers=kafka:9092
      postgres      | creating configuration files ... ok
      connect       | --- Setting property from CONNECT_TASK_SHUTDOWN_GRACEFUL_TIMEOUT_MS: task.shutdown.graceful.timeout.ms=10000
      postgres      | running bootstrap script ... ok
      postgres      | performing post-bootstrap initialization ... ok
      postgres      | syncing data to disk ... ok
      postgres      |
      postgres      | Success. You can now start the database server using:
      postgres      |
      postgres      |     pg_ctl -D /var/lib/postgresql/data -l logfile start
      postgres      |
      postgres      |
      postgres      | WARNING: enabling "trust" authentication for local connections
      postgres      | You can change this by editing pg_hba.conf or using the option -A, or
      postgres      | --auth-local and --auth-host, the next time you run initdb.
      postgres      | waiting for server to start....2021-10-15 12:19:31.830 GMT [47] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
      postgres      | 2021-10-15 12:19:31.859 GMT [48] LOG:  database system was shut down at 2021-10-15 12:19:31 GMT
      postgres      | 2021-10-15 12:19:31.868 GMT [47] LOG:  database system is ready to accept connections
      postgres      |  done
      postgres      | server started
      postgres      |
      postgres      | /usr/local/bin/docker-entrypoint.sh: sourcing /docker-entrypoint-initdb.d/init-permissions.sh
      postgres      |
      postgres      | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/inventory.sql
      postgres      | CREATE SCHEMA
      postgres      | SET
      connect       | Enabling Java debug options: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
      postgres      | CREATE EXTENSION
      postgres      | CREATE TABLE
      postgres      | ALTER SEQUENCE
      postgres      | ALTER TABLE
      postgres      | INSERT 0 9
      postgres      | CREATE TABLE
      postgres      | ALTER TABLE
      postgres      | INSERT 0 1
      postgres      | INSERT 0 1
      postgres      | INSERT 0 1
      postgres      | INSERT 0 1
      postgres      | INSERT 0 1
      postgres      | INSERT 0 1
      postgres      | INSERT 0 1
      postgres      | INSERT 0 1
      postgres      | INSERT 0 1
      grafana       | t=2021-10-15T12:19:33+0000 lvl=info msg="Starting Grafana" logger=server version=8.1.1 commit=90c87a52f7 branch=HEAD compiled=2021-08-09T12:53:33+0000
      grafana       | t=2021-10-15T12:19:33+0000 lvl=info msg="Config loaded from" logger=settings file=/usr/share/grafana/conf/defaults.ini
      grafana       | t=2021-10-15T12:19:33+0000 lvl=info msg="Config loaded from" logger=settings file=/etc/grafana/grafana.ini
      grafana       | t=2021-10-15T12:19:33+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.data=/var/lib/grafana"
      grafana       | t=2021-10-15T12:19:33+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.logs=/var/log/grafana"
      grafana       | t=2021-10-15T12:19:33+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.plugins=/var/lib/grafana/plugins"
      grafana       | t=2021-10-15T12:19:33+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.provisioning=/etc/grafana/provisioning"
      grafana       | t=2021-10-15T12:19:33+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.log.mode=console"
      grafana       | t=2021-10-15T12:19:33+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_DATA=/var/lib/grafana"
      grafana       | t=2021-10-15T12:19:33+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_LOGS=/var/log/grafana"
      grafana       | t=2021-10-15T12:19:33+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins"
      grafana       | t=2021-10-15T12:19:33+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning"
      grafana       | t=2021-10-15T12:19:33+0000 lvl=info msg="Path Home" logger=settings path=/usr/share/grafana
      grafana       | t=2021-10-15T12:19:33+0000 lvl=info msg="Path Data" logger=settings path=/var/lib/grafana
      grafana       | t=2021-10-15T12:19:33+0000 lvl=info msg="Path Logs" logger=settings path=/var/log/grafana
      grafana       | t=2021-10-15T12:19:33+0000 lvl=info msg="Path Plugins" logger=settings path=/var/lib/grafana/plugins
      grafana       | t=2021-10-15T12:19:33+0000 lvl=info msg="Path Provisioning" logger=settings path=/etc/grafana/provisioning
      grafana       | t=2021-10-15T12:19:33+0000 lvl=info msg="App mode production" logger=settings
      grafana       | t=2021-10-15T12:19:34+0000 lvl=info msg="Connecting to DB" logger=sqlstore dbtype=sqlite3
      grafana       | t=2021-10-15T12:19:34+0000 lvl=warn msg="SQLite database file has broader permissions than it should" logger=sqlstore path=/var/lib/grafana/grafana.db mode=-rw-r--r-- expected=-rw-r-----
      postgres      | CREATE TABLE
      postgres      | ALTER SEQUENCE
      postgres      | ALTER TABLE
      postgres      | INSERT 0 4
      grafana       | t=2021-10-15T12:19:34+0000 lvl=info msg="Starting DB migrations" logger=migrator
      postgres      | CREATE TABLE
      postgres      | ALTER SEQUENCE
      postgres      | ALTER TABLE
      postgres      | INSERT 0 4
      grafana       | t=2021-10-15T12:19:34+0000 lvl=info msg="migrations completed" logger=migrator performed=0 skipped=330 duration=34.009231ms
      grafana       | t=2021-10-15T12:19:34+0000 lvl=info msg="Starting plugin search" logger=plugins
      postgres      | CREATE TABLE
      postgres      | INSERT 0 3
      postgres      |
      postgres      |
      postgres      | 2021-10-15 12:19:34.148 GMT [47] LOG:  received fast shutdown request
      postgres      | 2021-10-15 12:19:34.152 GMT [47] LOG:  aborting any active transactions
      postgres      | waiting for server to shut down....2021-10-15 12:19:34.186 GMT [47] LOG:  background worker "logical replication launcher" (PID 54) exited with exit code 1
      postgres      | 2021-10-15 12:19:34.243 GMT [74] FATAL:  terminating autovacuum process due to administrator command
      mysql         | 2021-10-15T12:19:34.255384Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1 is enabled for channel mysql_main
      mysql         | 2021-10-15T12:19:34.255766Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1.1 is enabled for channel mysql_main
      postgres      | 2021-10-15 12:19:34.274 GMT [49] LOG:  shutting down
      postgres      | 2021-10-15 12:19:34.392 GMT [47] LOG:  database system is shut down
      grafana       | t=2021-10-15T12:19:34+0000 lvl=info msg="Registering plugin" logger=plugins id=input
      postgres      |  done
      postgres      | server stopped
      postgres      |
      postgres      | PostgreSQL init process complete; ready for start up.
      postgres      |
      postgres      | 2021-10-15 12:19:34.500 GMT [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
      postgres      | 2021-10-15 12:19:34.500 GMT [1] LOG:  listening on IPv6 address "::", port 5432
      postgres      | 2021-10-15 12:19:34.503 GMT [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
      postgres      | 2021-10-15 12:19:34.514 GMT [76] LOG:  database system was shut down at 2021-10-15 12:19:34 GMT
      grafana       | t=2021-10-15T12:19:34+0000 lvl=warn msg="Some plugin scanning errors were found" logger=plugins errors="plugin 'grafana-simple-json-datasource' is unsigned, plugin 'simpod-json-datasource' is unsigned"
      postgres      | 2021-10-15 12:19:34.545 GMT [1] LOG:  database system is ready to accept connections
      grafana       | t=2021-10-15T12:19:34+0000 lvl=eror msg="Failed to read plugin provisioning files from directory" logger=provisioning.plugins path=/etc/grafana/provisioning/plugins error="open /etc/grafana/provisioning/plugins: no such file or directory"
      grafana       | t=2021-10-15T12:19:34+0000 lvl=info msg="Live Push Gateway initialization" logger=live.push_http
      grafana       | t=2021-10-15T12:19:34+0000 lvl=info msg="HTTP Server Listen" logger=http.server address=[::]:3000 protocol=http subUrl= socket=
      mysql         | 2021-10-15T12:19:34.636209Z 6 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
      connect       | Listening for transport dt_socket at address: 5005
      kafka         | Error: Could not find or load main class kafka.Kafka
      kafka         | Caused by: java.lang.ClassNotFoundException: kafka.Kafka
      connect       | Error: Could not find or load main class org.apache.kafka.connect.cli.ConnectDistributed
      connect       | Caused by: java.lang.ClassNotFoundException: org.apache.kafka.connect.cli.ConnectDistributed
      kafka exited with code 1
      connect exited with code 1
      mysql         | 2021-10-15 12:19:37+00:00 [Note] [Entrypoint]: Database files initialized
      mysql         | 2021-10-15 12:19:37+00:00 [Note] [Entrypoint]: Starting temporary server
      mysql         | 2021-10-15T12:19:37.444508Z 0 [Warning] [MY-011070] [Server] 'Disabling symbolic links using --skip-symbolic-links (or equivalent) is the default. Consider not using this option as it' is deprecated and will be removed in a future release.
      mysql         | 2021-10-15T12:19:37.444529Z 0 [Warning] [MY-011068] [Server] The syntax 'expire-logs-days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
      mysql         | 2021-10-15T12:19:37.444663Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.26) starting as process 87
      mysql         | 2021-10-15T12:19:37.464601Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
      mysql         | 2021-10-15T12:19:37.665211Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
      mysql         | 2021-10-15T12:19:37.884337Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1 is enabled for channel mysql_main
      mysql         | 2021-10-15T12:19:37.884469Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1.1 is enabled for channel mysql_main
      mysql         | 2021-10-15T12:19:37.885973Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
      mysql         | 2021-10-15T12:19:37.886286Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
      mysql         | 2021-10-15T12:19:37.889397Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
      mysql         | 2021-10-15T12:19:37.914615Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.26'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  MySQL Community Server - GPL.
      mysql         | 2021-10-15T12:19:37.920806Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: /var/run/mysqld/mysqlx.sock
      mysql         | 2021-10-15 12:19:37+00:00 [Note] [Entrypoint]: Temporary server started.
      mysql         | Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
      mysql         | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
      mysql         | Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
      mysql         | Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.
      mysql         | 2021-10-15 12:19:41+00:00 [Note] [Entrypoint]: Creating user mysqluser
      mysql         |
      mysql         | 2021-10-15 12:19:41+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/inventory.sql
      mysql         |
      mysql         |
      mysql         | 2021-10-15 12:19:41+00:00 [Note] [Entrypoint]: Stopping temporary server
      mysql         | 2021-10-15T12:19:41.794545Z 12 [System] [MY-013172] [Server] Received SHUTDOWN from user root. Shutting down mysqld (Version: 8.0.26).
      mysql         | 2021-10-15T12:19:43.501399Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.26)  MySQL Community Server - GPL.
      mysql         | 2021-10-15 12:19:43+00:00 [Note] [Entrypoint]: Temporary server stopped
      mysql         |
      mysql         | 2021-10-15 12:19:43+00:00 [Note] [Entrypoint]: MySQL init process done. Ready for start up.
      mysql         |
      mysql         | 2021-10-15T12:19:44.042591Z 0 [Warning] [MY-011070] [Server] 'Disabling symbolic links using --skip-symbolic-links (or equivalent) is the default. Consider not using this option as it' is deprecated and will be removed in a future release.
      mysql         | 2021-10-15T12:19:44.042615Z 0 [Warning] [MY-011068] [Server] The syntax 'expire-logs-days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
      mysql         | 2021-10-15T12:19:44.042739Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.26) starting as process 1
      mysql         | 2021-10-15T12:19:44.051621Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
      mysql         | 2021-10-15T12:19:44.196244Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
      mysql         | 2021-10-15T12:19:44.345182Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1 is enabled for channel mysql_main
      mysql         | 2021-10-15T12:19:44.345379Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1.1 is enabled for channel mysql_main
      mysql         | 2021-10-15T12:19:44.346948Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
      mysql         | 2021-10-15T12:19:44.347245Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
      mysql         | 2021-10-15T12:19:44.351042Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
      mysql         | 2021-10-15T12:19:44.371212Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
      mysql         | 2021-10-15T12:19:44.371663Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.26'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server - GPL.
      

      Full docker-compose.yml:

      version: '2'
      services:
        zookeeper:
          container_name: zookeeper
          image: debezium/zookeeper:${DEBEZIUM_VERSION}
          ports:
           - 2181:2181
           - 2888:2888
           - 3888:3888
        kafka:
          container_name: kafka
          image: debezium/kafka:${DEBEZIUM_VERSION}
          ports:
           - 9092:9092
          links:
           - zookeeper
          environment:
           - ZOOKEEPER_CONNECT=zookeeper:2181
        mysql:
          container_name: mysql
          image: debezium/example-mysql:${DEBEZIUM_VERSION}
          ports:
           - 3306:3306
          environment:
           - MYSQL_ROOT_PASSWORD=debezium
           - MYSQL_USER=mysqluser
           - MYSQL_PASSWORD=mysqlpw
        postgres:
          container_name: postgres
          image: debezium/example-postgres:${DEBEZIUM_VERSION}
          ports:
           - 5432:5432
          environment:
           - POSTGRES_USER=postgres
           - POSTGRES_PASSWORD=debezium
        connect:
          container_name: connect
          image: debezium/connect:${DEBEZIUM_VERSION}
          ports:
           - 8083:8083
           - 9999:9999
           - 5005:5005
          links:
           - kafka
           - mysql
           - postgres
          environment:
           - BOOTSTRAP_SERVERS=kafka:9092
           - GROUP_ID=1
           - CONFIG_STORAGE_TOPIC=my_connect_configs
           - OFFSET_STORAGE_TOPIC=my_connect_offsets
           - STATUS_STORAGE_TOPIC=my_connect_statuses
           - KAFKA_DEBUG=true
           - JAVA_DEBUG_PORT=5005
           - JMX_PORT=9999
        prometheus:
          container_name: prometheus
          image: aib628/prometheus:v2.4.3
          ports:
           - 9090:9090
          links:
           - connect
          volumes:
           - /Users/vmaster/Docker/prometheus/etc:/etc/prometheus
        grafana:
          container_name: grafana
          image: grafana/grafana:8.1.1-ubuntu
          ports:
           - 3000:3000
          links:
           - prometheus
          volumes:
           - /Users/vmaster/Docker/grafana/lib:/var/lib/grafana
           - /Users/vmaster/Docker/grafana/etc:/etc/grafana
          environment:
           - DS_PROMETHEUS=DS_PROMETHEUS
      

      Attachments

        Issue Links

          Activity

            People

              gunnar.morling Gunnar Morling
              aib628 cc vmaster
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: