INFO NetworkClient:819 - [AdminClient clientId=adminclient-1] Disconnecting from node -1 due to socket connection setup timeout. The timeout value is 27930 ms. 2023-05-11 13:58:54 INFO AdminMetadataManager:235 - [AdminClient clientId=adminclient-1] Metadata update failed #798
Unanswered
YLChen-007
asked this question in
Q&A
Replies: 1 comment 1 reply
-
The log suggests your connection to the Kafka cluster is not working. But without the full configurations of both he Bridge and the Kafka cluster, it is hard to say why. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I can not run
curl -X GET http://localhost:8080/topics
in bridge container!So i cannot get kafka info from bridge.
bridge container log:
Kafka Bridge configuration:
#Bridge configuration
bridge.id=my-bridge
#Kafka common properties
kafka.bootstrap.servers=my-cluster-kafka-bootstrap:9092
kafka.security.protocol=PLAINTEXT
#Apache Kafka AdminClient
#Apache Kafka Producer
#Apache Kafka Consumer
#HTTP configuration
http.host=0.0.0.0
http.port=8080
http.cors.enabled=false
http.cors.allowedOrigins=
http.cors.allowedMethods=
++ dirname /opt/strimzi/bin/docker/../kafka_bridge_run.sh
2023-05-11 13:46:40 INFO Application:60 - Strimzi Kafka Bridge 0.24.0 is starting
2023-05-11 13:46:40 INFO Application:80 - Bridge configuration BridgeConfig(config={bridge.id=my-bridge},kafkaConfig=KafkaConfig(config={security.protocol=PLAINTEXT, bootstrap.servers=my-cluster-kafka-bootstrap:9092},consumerConfig=KafkaConsumerConfig(config={}),producerConfig=KafkaProducerConfig(config={}),adminConfig=KafkaAdminConfig(config={})),httpConfig=HttpConfig(config={http.cors.allowedOrigins=, http.port=8080, http.cors.allowedMethods=, http.cors.enabled=false, http.host=0.0.0.0}))
2023-05-11 13:46:41 INFO HttpBridge:185 - Starting HTTP-Kafka bridge verticle...
2023-05-11 13:46:41 INFO AdminClientConfig:376 - AdminClientConfig values:
bootstrap.servers = [my-cluster-kafka-bootstrap:9092]
client.dns.lookup = use_all_dns_ips
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.connect.timeout.ms = null
sasl.login.read.timeout.ms = 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.login.retry.backoff.max.ms = 10000
sasl.login.retry.backoff.ms = 100
sasl.mechanism = GSSAPI
sasl.oauthbearer.clock.skew.seconds = 30
sasl.oauthbearer.expected.audience = null
sasl.oauthbearer.expected.issuer = null
sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000
sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000
sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100
sasl.oauthbearer.jwks.endpoint.url = null
sasl.oauthbearer.scope.claim.name = scope
sasl.oauthbearer.sub.claim.name = sub
sasl.oauthbearer.token.endpoint.url = null
security.protocol = PLAINTEXT
security.providers = null
send.buffer.bytes = 131072
socket.connection.setup.timeout.max.ms = 30000
socket.connection.setup.timeout.ms = 10000
ssl.cipher.suites = null
ssl.enabled.protocols = [TLSv1.2, TLSv1.3]
ssl.endpoint.identification.algorithm = https
ssl.engine.factory.class = null
ssl.key.password = null
ssl.keymanager.algorithm = SunX509
ssl.keystore.certificate.chain = null
ssl.keystore.key = null
ssl.keystore.location = null
ssl.keystore.password = null
ssl.keystore.type = JKS
ssl.protocol = TLSv1.3
ssl.provider = null
ssl.secure.random.implementation = null
ssl.trustmanager.algorithm = PKIX
ssl.truststore.certificates = null
ssl.truststore.location = null
ssl.truststore.password = null
ssl.truststore.type = JKS
2023-05-11 13:46:41 INFO AppInfoParser:119 - Kafka version: 3.2.3
2023-05-11 13:46:41 INFO AppInfoParser:120 - Kafka commitId: 50029d3ed8ba576f
2023-05-11 13:46:41 INFO AppInfoParser:121 - Kafka startTimeMs: 1683812801686
2023-05-11 13:46:41 INFO HttpBridge:103 - HTTP-Kafka Bridge started and listening on port 8080
2023-05-11 13:46:41 INFO HttpBridge:104 - HTTP-Kafka Bridge bootstrap servers my-cluster-kafka-bootstrap:9092
2023-05-11 13:46:41 INFO Application:127 - HTTP verticle instance deployed [58d80413-80b2-4e34-aa4d-4689d2bbcf67]
2023-05-11 13:46:50 INFO NetworkClient:819 - [AdminClient clientId=adminclient-1] Disconnecting from node -1 due to socket connection setup timeout. The timeout value is 8245 ms.
2023-05-11 13:47:08 INFO NetworkClient:819 - [AdminClient clientId=adminclient-1] Disconnecting from node -1 due to socket connection setup timeout. The timeout value is 18459 ms.
2023-05-11 13:47:11 INFO AdminMetadataManager:235 - [AdminClient clientId=adminclient-1] Metadata update failed
org.apache.kafka.common.errors.TimeoutException: Timed out waiting to send the call. Call: fetchMetadata
2023-05-11 13:47:40 INFO NetworkClient:819 - [AdminClient clientId=adminclient-1] Disconnecting from node -1 due to socket connection setup timeout. The timeout value is 28544 ms.
2023-05-11 13:47:41 INFO AdminMetadataManager:235 - [AdminClient clientId=adminclient-1] Metadata update failed
org.apache.kafka.common.errors.TimeoutException: Timed out waiting to send the call. Call: fetchMetadata
2023-05-11 13:48:10 INFO NetworkClient:819 - [AdminClient clientId=adminclient-1] Disconnecting from node -1 due to socket connection setup timeout. The timeout value is 28321 ms.
2023-05-11 13:48:11 INFO AdminMetadataManager:235 - [AdminClient clientId=adminclient-1] Metadata update failed
org.apache.kafka.common.errors.TimeoutException: Timed out waiting to send the call. Call: fetchMetadata
2023-05-11 13:48:38 INFO NetworkClient:819 - [AdminClient clientId=adminclient-1] Disconnecting from node -1 due to socket connection setup timeout. The timeout value is 27232 ms.
2023-05-11 13:48:41 INFO AdminMetadataManager:235 - [AdminClient clientId=adminclient-1] Metadata update failed
org.apache.kafka.common.errors.TimeoutException: Timed out waiting to send the call. Call: fetchMetadata
2023-05-11 13:49:11 INFO NetworkClient:819 - [AdminClient clientId=adminclient-1] Disconnecting from node -1 due to socket connection setup timeout. The timeout value is 29655 ms.
2023-05-11 13:49:11 INFO AdminMetadataManager:235 - [AdminClient clientId=adminclient-1] Metadata update failed
org.apache.kafka.common.errors.TimeoutException: Timed out waiting for a node assignment. Call: fetchMetadata
2023-05-11 13:49:41 INFO NetworkClient:819 - [AdminClient clientId=adminclient-1] Disconnecting from node -1 due to socket connection setup timeout. The timeout value is 28878 ms.
2023-05-11 13:49:41 INFO AdminMetadataManager:235 - [AdminClient clientId=adminclient-1] Metadata update failed
Beta Was this translation helpful? Give feedback.
All reactions