0

有一个基于 quarkus 的简单 poc 向 kafka 主题发送 avro 消息。

以下是已加载的配置 -

acks = 1
batch.size = 16384
bootstrap.servers = [kaas-test-dc-a.company.com:443]
buffer.memory = 33554432
client.dns.lookup = use_all_dns_ips
client.id = kafka-producer-cpe-reply
compression.type = none
connections.max.idle.ms = 540000
delivery.timeout.ms = 120000
enable.idempotence = false
interceptor.classes = []
internal.auto.downgrade.txn.commit = false
key.serializer = class org. apache.kafka.common.serialization.StringSerializer
linger.ms = 0
max.block.ms = 60000
max.in.flight.requests.per.connection = 5
max.request.size = 1048576
metadata.max.age.ms = 300000
元数据.max.idle.ms = 300000
metric.reporters = []
metrics.num.samples = 2
metrics.recording.level = INFO
metrics.sample.window.ms = 30000
partitioner.class = class org.apache.kafka.clients.producer.internals.DefaultPartitioner
receive.buffer .bytes = 32768
reconnect.backoff.max.ms = 10000
reconnect.backoff.ms = 50
request.timeout.ms = 30000次
重试 = 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 = SSL
security.providers = null
send.buffer.bytes = 131072
socket .connection.setup.timeout.max.ms = 127000
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 = [隐藏]
ssl.keymanager.algorithm = SunX509
ssl.keystore.certificate.chain = null
ssl.keystore.key = null
ssl.keystore.location = C:/keystore.jks
ssl.keystore.password = [隐藏]
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 = C:/truststore.jks
ssl.truststore.password = [隐藏]
ssl.truststore.type = JKS
transaction.timeout.ms = 60000
transactional.id = null
value.serializer = class io.apicurio.registry.utils.serde。 AvroKafkaSerializer

以下是我看到的错误 -
2021-06-29 23:36:59,012 INFO [org.apa.kaf.com.uti.AppInfoParser](Quarkus 主线程)Kafka 版本:2.7.0 2021-06-29 23:36:59,012 INFO [org.apa .kaf.com.uti.AppInfoParser](Quarkus 主线程)Kafka commitId:448719dc99a19793 2021-06-29 23:36:59,015 INFO [org.apa.kaf.com.uti.AppInfoParser](Quarkus 主线程)Kafka startTimeMs: 1625024218998 2021-06-29 23:36:59,757 INFO [io.quarkus](Quarkus 主线程)aru-unet-Service-replyws 1.0.0 on JVM(由 Quarkus 1.13.7.Final 提供支持)开始于 33.944 秒。收听:http://localhost:8080 2021-06-29 23:36:59,758 INFO [io.quarkus](Quarkus 主线程)配置文件开发已激活。激活实时编码。2021-06-29 23:36:59,761 INFO [io.quarkus](Quarkus 主线程)已安装的功能:[camel-support-retrofit、cdi、kotlin、mutiny、quarkiverse-apicurio-registry-client、resteasy、resteasy-jackson ,

希望对上述异常有所帮助。

4

0 回答 0