我正在使用kerberized融合kafka 2在cloudera上的Spark 2.3上运行结构化流。
19/05/07 06:03:23 INFO streaming.MicroBatchExecution: Starting new streaming query.
下面是日志:-
19/05/07 04:59:53 INFO consumer.ConsumerConfig: ConsumerConfig values:
metric.reporters = []
metadata.max.age.ms = 300000
partition.assignment.strategy = [org.apache.kafka.clients.consumer.RangeAssignor]
reconnect.backoff.ms = 50
sasl.kerberos.ticket.renew.window.factor = 0.8
max.partition.fetch.bytes = 1048576
bootstrap.servers = [server1.net:19094, server2.net:19094, server3.net:19094]
ssl.keystore.type = JKS
enable.auto.commit = false
sasl.mechanism = GSSAPI
interceptor.classes = null
exclude.internal.topics = true
ssl.truststore.password = [hidden]
client.id = consumer-2
ssl.endpoint.identification.algorithm = null
max.poll.records = 1
check.crcs = true
request.timeout.ms = 40000
heartbeat.interval.ms = 3000
auto.commit.interval.ms = 5000
receive.buffer.bytes = 65536
ssl.truststore.type = JKS
ssl.truststore.location = /home/user/Trust.jks
ssl.keystore.password = [hidden]
fetch.min.bytes = 1
send.buffer.bytes = 131072
value.deserializer = class org.apache.kafka.common.serialization.ByteArrayDeserializer
group.id = spark-kafka-source-eea583f2-3e55-40df-9d5b-ee46a74f764c--1635002634-driver-0
retry.backoff.ms = 100
ssl.secure.random.implementation = null
sasl.kerberos.kinit.cmd = /usr/bin/kinit
sasl.kerberos.service.name = admin
sasl.kerberos.ticket.renew.jitter = 0.05
ssl.trustmanager.algorithm = PKIX
ssl.key.password = [hidden]
fetch.max.wait.ms = 500
sasl.kerberos.min.time.before.relogin = 60000
connections.max.idle.ms = 540000
session.timeout.ms = 30000
metrics.num.samples = 2
key.deserializer = class org.apache.kafka.common.serialization.ByteArrayDeserializer
ssl.protocol = TLS
ssl.provider = null
ssl.enabled.protocols = [TLSv1.2, TLSv1.1, TLSv1]
ssl.keystore.location = /home/user/keystore.jks
ssl.cipher.suites = null
security.protocol = SASL_SSL
ssl.keymanager.algorithm = SunX509
metrics.sample.window.ms = 30000
auto.offset.reset = earliest
19/05/07 04:59:54 INFO utils.AppInfoParser: Kafka version : 0.10.0-kafka-2.1.0
19/05/07 04:59:54 INFO utils.AppInfoParser: Kafka commitId : unknown
19/05/07 04:59:54 INFO streaming.MicroBatchExecution: Starting new streaming query.
此后没有任何反应。有关于该主题的消息,我在启动应用程序后尝试生成消息,但是没有任何反应。我在这里想念什么?
注意:-我可以从IDE成功运行它,但它会卡在边缘节点上。