Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not connect between containers with docker-compose #25

Open
valdepeace opened this issue Jun 22, 2020 · 1 comment
Open

Not connect between containers with docker-compose #25

valdepeace opened this issue Jun 22, 2020 · 1 comment

Comments

@valdepeace
Copy link

valdepeace commented Jun 22, 2020

when i run docker-compose up -d the containers don't connect, i explain:
control-center cannot connect to the containers: connect, ksqldb and schema-registry.

In the control-center dashboard it appears to me for the three services:

"You need to configure Control Center so it knows how to connect to your Connect-ksqldb-schema-registry cluster(s)."

log from control-center:

0-06-22 12:55:32,808] WARN The configuration 'consumer.session.timeout.ms' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)

[2020-06-22 12:55:32,808] WARN The configuration 'producer.max.block.ms' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)

[2020-06-22 12:55:32,808] WARN The configuration 'producer.retries' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)

[2020-06-22 12:55:32,808] WARN The configuration 'upgrade.from' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)

[2020-06-22 12:55:32,808] WARN The configuration 'producer.retry.backoff.ms' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)

[2020-06-22 12:55:32,809] WARN The configuration 'producer.linger.ms' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)

[2020-06-22 12:55:32,809] WARN The configuration 'producer.delivery.timeout.ms' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)

[2020-06-22 12:55:32,809] WARN The configuration 'cache.max.bytes.buffering' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)

[2020-06-22 12:55:32,809] WARN The configuration 'producer.compression.type' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)

[2020-06-22 12:55:32,809] WARN The configuration 'num.stream.threads' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)

[2020-06-22 12:55:32,809] INFO Kafka version: 5.5.0-ce (org.apache.kafka.common.utils.AppInfoParser)

[2020-06-22 12:55:32,809] INFO Kafka commitId: 6068e5d52c5e294e (org.apache.kafka.common.utils.AppInfoParser)

[2020-06-22 12:55:32,809] INFO Kafka startTimeMs: 1592830532809 (org.apache.kafka.common.utils.AppInfoParser)

[2020-06-22 12:55:32,832] INFO cluster 1TJGTVihQFaiVxDqoNfzLA registered with configuration controlcenter.cluster (io.confluent.controlcenter.kafka.ClusterManager)

[2020-06-22 12:55:32,850] INFO Starting Health Check (io.confluent.controlcenter.ControlCenter)

[2020-06-22 12:55:32,850] INFO Starting Alert Manager (io.confluent.controlcenter.ControlCenter)

[2020-06-22 12:55:32,851] INFO Starting Consumer Offsets Fetch (io.confluent.controlcenter.ControlCenter)

[2020-06-22 12:55:32,853] INFO current clusterId=1TJGTVihQFaiVxDqoNfzLA (io.confluent.controlcenter.healthcheck.HealthCheck)

[2020-06-22 12:55:32,855] INFO AdminClientConfig values:

bootstrap.servers = [broker:29092]


client.dns.lookup = default


client.id = 


connections.max.idle.ms = 300000


default.api.timeout.ms = 60000


metadata.max.age.ms = 300000


metric.reporters = []


metrics.num.samples = 2


metrics.recording.level = INFO


metrics.sample.window.ms = 30000


receive.buffer.bytes = 65536


reconnect.backoff.max.ms = 1000


reconnect.backoff.ms = 50


request.timeout.ms = 30000


retries = 2147483647


retry.backoff.ms = 100


sasl.client.callback.handler.class = null


sasl.jaas.config = null


sasl.kerberos.kinit.cmd = /usr/bin/kinit


sasl.kerberos.min.time.before.relogin = 60000


sasl.kerberos.service.name = null


sasl.kerberos.ticket.renew.jitter = 0.05


sasl.kerberos.ticket.renew.window.factor = 0.8


sasl.login.callback.handler.class = null


sasl.login.class = null


sasl.login.refresh.buffer.seconds = 300


sasl.login.refresh.min.period.seconds = 60


sasl.login.refresh.window.factor = 0.8


sasl.login.refresh.window.jitter = 0.05


sasl.mechanism = GSSAPI


security.protocol = PLAINTEXT


security.providers = null


send.buffer.bytes = 131072


ssl.cipher.suites = null


ssl.enabled.protocols = [TLSv1.2, TLSv1.1, TLSv1]


ssl.endpoint.identification.algorithm = https


ssl.key.password = null


ssl.keymanager.algorithm = SunX509


ssl.keystore.location = null


ssl.keystore.password = null


ssl.keystore.type = JKS


ssl.protocol = TLS


ssl.provider = null


ssl.secure.random.implementation = null


ssl.trustmanager.algorithm = PKIX


ssl.truststore.location = null


ssl.truststore.password = null


ssl.truststore.type = JKS

(org.apache.kafka.clients.admin.AdminClientConfig)

[2020-06-22 12:55:32,857] WARN The configuration 'consumer.session.timeout.ms' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)

[2020-06-22 12:55:32,857] WARN The configuration 'producer.max.block.ms' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)

[2020-06-22 12:55:32,857] WARN The configuration 'producer.retries' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)

[2020-06-22 12:55:32,857] WARN The configuration 'upgrade.from' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)

[2020-06-22 12:55:32,857] WARN The configuration 'producer.retry.backoff.ms' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)

[2020-06-22 12:55:32,857] WARN The configuration 'producer.linger.ms' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)

[2020-06-22 12:55:32,857] WARN The configuration 'producer.delivery.timeout.ms' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)

[2020-06-22 12:55:32,857] WARN The configuration 'cache.max.bytes.buffering' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)

[2020-06-22 12:55:32,857] WARN The configuration 'producer.compression.type' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)

[2020-06-22 12:55:32,857] WARN The configuration 'num.stream.threads' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)

[2020-06-22 12:55:32,857] INFO Kafka version: 5.5.0-ce (org.apache.kafka.common.utils.AppInfoParser)

[2020-06-22 12:55:32,857] INFO Kafka commitId: 6068e5d52c5e294e (org.apache.kafka.common.utils.AppInfoParser)

[2020-06-22 12:55:32,857] INFO Kafka startTimeMs: 1592830532857 (org.apache.kafka.common.utils.AppInfoParser)

[2020-06-22 12:55:32,874] INFO broker id set has changed new={1=[broker:29092 (id: 1 rack: null)]} removed={} (io.confluent.controlcenter.healthcheck.HealthCheck)

[2020-06-22 12:55:32,877] INFO new controller=broker:29092 (id: 1 rack: null) (io.confluent.controlcenter.healthcheck.HealthCheck)

[2020-06-22 12:55:33,074] WARN DEPRECATION warning: listeners configuration is not configured. Falling back to the deprecated port configuration. (io.confluent.rest.ApplicationServer)

[2020-06-22 12:55:33,075] INFO Adding listener: http://0.0.0.0:9021 (io.confluent.rest.ApplicationServer)

[2020-06-22 12:55:33,568] INFO jetty-9.4.24.v20191120; built: 2019-11-20T21:37:49.771Z; git: 363d5f2df3a8a28de40604320230664b9c793c16; jvm 1.8.0_212-b04 (org.eclipse.jetty.server.Server)

[2020-06-22 12:55:33,654] INFO DefaultSessionIdManager workerName=node0 (org.eclipse.jetty.server.session)

[2020-06-22 12:55:33,654] INFO No SessionScavenger set, using defaults (org.eclipse.jetty.server.session)

[2020-06-22 12:55:33,656] INFO node0 Scavenging every 600000ms (org.eclipse.jetty.server.session)

[2020-06-22 12:55:33,862] INFO name=monitoring-input-topic-progress-.count type=monitoring cluster= value=0.0 (io.confluent.controlcenter.util.StreamProgressReporter)

[2020-06-22 12:55:33,863] INFO name=monitoring-input-topic-progress-.rate type=monitoring cluster= value=NaN (io.confluent.controlcenter.util.StreamProgressReporter)

[2020-06-22 12:55:33,863] INFO name=monitoring-input-topic-progress-.timestamp type=monitoring cluster= value=1.7976931348623157E308 (io.confluent.controlcenter.util.StreamProgressReporter)

[2020-06-22 12:55:33,864] INFO name=monitoring-input-topic-progress-.min type=monitoring cluster= value=1.7976931348623157E308 (io.confluent.controlcenter.util.StreamProgressReporter)

Jun 22, 2020 12:55:34 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime

WARNING: A provider io.confluent.controlcenter.rest.FeatureFlagResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.confluent.controlcenter.rest.FeatureFlagResource will be ignored.

Jun 22, 2020 12:55:34 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime

WARNING: A provider io.confluent.controlcenter.rest.CachedConsumerOffsetsResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.confluent.controlcenter.rest.CachedConsumerOffsetsResource will be ignored.

Jun 22, 2020 12:55:34 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime

WARNING: A provider io.confluent.controlcenter.rest.PermissionsResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.confluent.controlcenter.rest.PermissionsResource will be ignored.

Jun 22, 2020 12:55:34 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime

WARNING: A provider io.confluent.controlcenter.rest.KafkaResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.confluent.controlcenter.rest.KafkaResource will be ignored.

Jun 22, 2020 12:55:34 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime

WARNING: A provider io.confluent.controlcenter.rest.MetricsResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.confluent.controlcenter.rest.MetricsResource will be ignored.

Jun 22, 2020 12:55:34 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime

WARNING: A provider io.confluent.controlcenter.rest.ServiceHealthCheckResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.confluent.controlcenter.rest.ServiceHealthCheckResource will be ignored.

Jun 22, 2020 12:55:34 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime

WARNING: A provider io.confluent.controlcenter.rest.AlertsResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.confluent.controlcenter.rest.AlertsResource will be ignored.

Jun 22, 2020 12:55:34 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime

WARNING: A provider io.confluent.controlcenter.rest.MessageDeliveryResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.confluent.controlcenter.rest.MessageDeliveryResource will be ignored.

Jun 22, 2020 12:55:34 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime

WARNING: A provider io.confluent.controlcenter.rest.ClusterResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.confluent.controlcenter.rest.ClusterResource will be ignored.

Jun 22, 2020 12:55:34 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime

WARNING: A provider io.confluent.controlcenter.rest.StatusResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.confluent.controlcenter.rest.StatusResource will be ignored.

Jun 22, 2020 12:55:34 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime

WARNING: A provider io.confluent.controlcenter.rest.LicenseResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.confluent.controlcenter.rest.LicenseResource will be ignored.

Jun 22, 2020 12:55:34 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime

WARNING: A provider io.confluent.controlcenter.rest.AuthResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.confluent.controlcenter.rest.AuthResource will be ignored.

Jun 22, 2020 12:55:34 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime

WARNING: A provider io.confluent.controlcenter.rest.HealthCheckResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.confluent.controlcenter.rest.HealthCheckResource will be ignored.

Jun 22, 2020 12:55:34 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime

WARNING: A provider io.confluent.controlcenter.rest.CommandResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.confluent.controlcenter.rest.CommandResource will be ignored.

[2020-06-22 12:55:35,291] INFO HV000001: Hibernate Validator null (org.hibernate.validator.internal.util.Version)

[2020-06-22 12:55:35,704] INFO {"confluentPlatformVersion":null,"informationForUser":null} (io.confluent.controlcenter.healthcheck.HealthCheckModule)

[2020-06-22 12:55:35,706] INFO Successfully submitted metrics to Confluent via secure endpoint (io.confluent.support.metrics.submitters.ConfluentSubmitter)

[2020-06-22 12:55:35,867] INFO JVM Runtime does not support Modules (org.eclipse.jetty.util.TypeUtil)

[2020-06-22 12:55:35,917] INFO Started o.e.j.s.ServletContextHandler@996a546{/,[jar:file:/usr/share/java/acl/acl-5.5.0.jar!/io/confluent/controlcenter/rest/static],AVAILABLE} (org.eclipse.jetty.server.handler.ContextHandler)

[2020-06-22 12:55:35,962] INFO Started o.e.j.s.ServletContextHandler@750f64fe{/ws,null,AVAILABLE} (org.eclipse.jetty.server.handler.ContextHandler)

[2020-06-22 12:55:35,985] INFO Started NetworkTrafficServerConnector@4bdf{HTTP/1.1,[http/1.1]}{0.0.0.0:9021} (org.eclipse.jetty.server.AbstractConnector)

[2020-06-22 12:55:35,985] INFO Started @56406ms (org.eclipse.jetty.server.Server)

[2020-06-22 12:55:42,427] INFO 172.21.0.1 - - [22/Jun/2020:12:55:42 +0000] "GET /3.0/license HTTP/1.1" 200 433 222 (io.confluent.rest-utils.requests)

[2020-06-22 12:55:42,427] INFO 172.21.0.1 - - [22/Jun/2020:12:55:42 +0000] "GET /2.0/clusters/kafka HTTP/1.1" 200 144 222 (io.confluent.rest-utils.requests)

[2020-06-22 12:55:42,427] INFO 172.21.0.1 - - [22/Jun/2020:12:55:42 +0000] "GET /2.0/clusters/kafka/display/CLUSTER_MANAGEMENT HTTP/1.1" 200 110 222 (io.confluent.rest-utils.requests)

[2020-06-22 12:55:42,431] INFO 172.21.0.1 - - [22/Jun/2020:12:55:42 +0000] "GET /2.0/clusters/connect HTTP/1.1" 200 95 226 (io.confluent.rest-utils.requests)

[2020-06-22 12:55:42,431] INFO 172.21.0.1 - - [22/Jun/2020:12:55:42 +0000] "GET /2.0/clusters/ksql HTTP/1.1" 200 88 223 (io.confluent.rest-utils.requests)

[2020-06-22 12:55:42,433] INFO 172.21.0.1 - - [22/Jun/2020:12:55:42 +0000] "GET /2.0/clusters/schema-registry HTTP/1.1" 200 143 228 (io.confluent.rest-utils.requests)

[2020-06-22 12:55:42,583] INFO 172.21.0.1 - - [22/Jun/2020:12:55:42 +0000] "GET /2.0/metrics/1TJGTVihQFaiVxDqoNfzLA/maxtime HTTP/1.1" 200 27 146 (io.confluent.rest-utils.requests)

[2020-06-22 12:55:46,138] INFO 172.21.0.1 - - [22/Jun/2020:12:55:46 +0000] "GET /2.0/health/status HTTP/1.1" 200 149 14 (io.confluent.rest-utils.requests)


[2020-06-22 21:45:56,147] INFO 172.18.0.1 - - [22/Jun/2020:21:45:56 +0000] "GET /2.0/clusters/ksql HTTP/1.1" 200 94 1 (io.confluent.rest-utils.requests)

[2020-06-22 21:45:56,153] INFO 172.18.0.1 - - [22/Jun/2020:21:45:56 +0000] "GET /2.0/clusters/connect HTTP/1.1" 200 86 2 (io.confluent.rest-utils.requests)

[2020-06-22 21:45:56,156] INFO 172.18.0.1 - - [22/Jun/2020:21:45:56 +0000] "GET /2.0/clusters/kafka HTTP/1.1" 200 143 2 (io.confluent.rest-utils.requests)

[2020-06-22 21:45:56,163] INFO 172.18.0.1 - - [22/Jun/2020:21:45:56 +0000] "GET /2.0/clusters/schema-registry HTTP/1.1" 200 143 2 (io.confluent.rest-utils.requests)

[2020-06-22 21:45:56,165] INFO 172.18.0.1 - - [22/Jun/2020:21:45:56 +0000] "GET /2.0/clusters/kafka/display/CLUSTER_MANAGEMENT HTTP/1.1" 200 110 1 (io.confluent.rest-utils.requests)

[2020-06-22 21:45:56,182] INFO 172.18.0.1 - - [22/Jun/2020:21:45:56 +0000] "GET /3.0/license HTTP/1.1" 200 429 2 (io.confluent.rest-utils.requests)

[2020-06-22 21:45:56,206] INFO 172.18.0.1 - - [22/Jun/2020:21:45:56 +0000] "GET /2.0/metrics/maxtime HTTP/1.1" 200 60 2 (io.confluent.rest-utils.requests)

[2020-06-22 21:45:56,233] INFO 172.18.0.1 - - [22/Jun/2020:21:45:56 +0000] "GET /2.0/metrics/clusters/status HTTP/1.1" 200 287 9 (io.confluent.rest-utils.requests)

[2020-06-22 21:45:56,238] INFO 172.18.0.1 - - [22/Jun/2020:21:45:56 +0000] "GET /api/ksql/ksqldb1/info HTTP/1.1" 502 435 4 (io.confluent.rest-utils.requests)

[2020-06-22 21:45:56,238] INFO 172.18.0.1 - - [22/Jun/2020:21:45:56 +0000] "GET /api/connect/connect-default/ HTTP/1.1" 502 445 4 (io.confluent.rest-utils.requests)

[2020-06-22 21:46:12,156] INFO 172.18.0.1 - - [22/Jun/2020:21:46:12 +0000] "GET /2.0/health/status HTTP/1.1" 200 147 1 (io.confluent.rest-utils.requests)

@OneCricketeer
Copy link

Unclear what version of the Compose file you're running, but everything is working for me with version 6.2.0-post

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants