-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
None
-
False
Bug report
I would like to pass this environment variable to config `ssl.endpoint.identification.algorithm=`
DEBEZIUM_SINK_KAFKA_PRODUCER_SSL_ENDPOINT_IDENTIFICATION_ALGORITHM=
but when start debezium service I got this error message.
2024-04-10 10:08:17,864 INFO [io.deb.ser.kaf.KafkaChangeConsumer] (main) consumer started... 2024-04-10 10:08:17,864 INFO [io.deb.ser.DebeziumServer] (main) Consumer 'io.debezium.server.kafka.KafkaChangeConsumer' instantiated 2024-04-10 10:08:17,896 ERROR [io.qua.run.Application] (main) Failed to start application (with profile [prod]): java.lang.RuntimeException: Failed to start quarkus at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source) at io.quarkus.runtime.Application.start(Application.java:101) at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:111) at io.quarkus.runtime.Quarkus.run(Quarkus.java:71) at io.quarkus.runtime.Quarkus.run(Quarkus.java:44) at io.quarkus.runtime.Quarkus.run(Quarkus.java:124) at io.debezium.server.Main.main(Main.java:15) Caused by: java.util.NoSuchElementException: SRCFG00040: The config property DEBEZIUM_SINK_KAFKA_PRODUCER_SSL_ENDPOINT_IDENTIFICATION_ALGORITHM is defined as the empty String ("") which the following Converter considered to be null: io.smallrye.config.Converters$BuiltInConverter at io.smallrye.config.SmallRyeConfig.convertValue(SmallRyeConfig.java:300) at io.smallrye.config.SmallRyeConfig.getValue(SmallRyeConfig.java:242) at io.smallrye.config.SmallRyeConfig.getValue(SmallRyeConfig.java:168) at io.debezium.server.DebeziumServer.configToProperties(DebeziumServer.java:196) at io.debezium.server.DebeziumServer.start(DebeziumServer.java:150) at io.debezium.server.DebeziumServer_Bean.doCreate(Unknown Source) at io.debezium.server.DebeziumServer_Bean.create(Unknown Source) at io.debezium.server.DebeziumServer_Bean.create(Unknown Source) at io.quarkus.arc.impl.AbstractSharedContext.createInstanceHandle(AbstractSharedContext.java:113) at io.quarkus.arc.impl.AbstractSharedContext$1.get(AbstractSharedContext.java:37) at io.quarkus.arc.impl.AbstractSharedContext$1.get(AbstractSharedContext.java:34) at io.quarkus.arc.impl.LazyValue.get(LazyValue.java:26) at io.quarkus.arc.impl.ComputingCache.computeIfAbsent(ComputingCache.java:69) at io.quarkus.arc.impl.AbstractSharedContext.get(AbstractSharedContext.java:34) at io.quarkus.arc.impl.ClientProxies.getApplicationScopedDelegate(ClientProxies.java:21) at io.debezium.server.DebeziumServer_ClientProxy.arc$delegate(Unknown Source) at io.debezium.server.DebeziumServer_ClientProxy.arc_contextualInstance(Unknown Source) at io.debezium.server.DebeziumServer_Observer_Synthetic_f28a48f6bdce4326db44aec92fdb5c84d535b5d9.notify(Unknown Source) at io.quarkus.arc.impl.EventImpl$Notifier.notifyObservers(EventImpl.java:346) at io.quarkus.arc.impl.EventImpl$Notifier.notify(EventImpl.java:328) at io.quarkus.arc.impl.EventImpl.fire(EventImpl.java:82) at io.quarkus.arc.runtime.ArcRecorder.fireLifecycleEvent(ArcRecorder.java:155) at io.quarkus.arc.runtime.ArcRecorder.handleLifecycleEvents(ArcRecorder.java:106) at io.quarkus.deployment.steps.LifecycleEventsBuildStep$startupEvent1144526294.deploy_0(Unknown Source) at io.quarkus.deployment.steps.LifecycleEventsBuildStep$startupEvent1144526294.deploy(Unknown Source) ... 7 more
What Debezium connector do you use and what version?
debezium/server:2.6.0.Final
What is the connector configuration?
DEBEZIUM_SINK_TYPE=kafka DEBEZIUM_SINK_KAFKA_PRODUCER_BOOTSTRAP_SERVERS=******* DEBEZIUM_SINK_KAFKA_PRODUCER_COMPRESSION_TYPE=lz4 DEBEZIUM_SINK_KAFKA_PRODUCER_LINGER_MS=50 DEBEZIUM_SINK_KAFKA_PRODUCER_SASL_MECHANISM=SCRAM-SHA-512 DEBEZIUM_SINK_KAFKA_PRODUCER_SECURITY_PROTOCOL=SASL_SSL DEBEZIUM_SINK_KAFKA_PRODUCER_KEY_SERIALIZER=org.apache.kafka.common.serialization.StringSerializer DEBEZIUM_SINK_KAFKA_PRODUCER_VALUE_SERIALIZER=org.apache.kafka.common.serialization.StringSerializer DEBEZIUM_SINK_KAFKA_PRODUCER_SSL_ENDPOINT_IDENTIFICATION_ALGORITHM=
What is the captured database version and mode of depoyment?
on-premise mongodb version 4.2
What behaviour do you expect?
It should be operational without any errors.
What behaviour do you see?
It was thrown an error when pass empty string.
Do you see the same behaviour using the latest relesead Debezium version?
(Ideally, also verify with latest Alpha/Beta/CR version)
Not sure
Do you have the connector logs, ideally from start till finish?
(You might be asked later to provide DEBUG/TRACE level log)
Please see in the first section.
How to reproduce the issue using our tutorial deployment?
docker run -d -it --env-file ./beta.env --name debezium -p 8083:8083 debezium/server:2.6.0.Final
Feature request or enhancement
For feature requests or enhancements, provide this information, please:
Which use case/requirement will be addressed by the proposed feature?
Kafka config can be empty string value.
Implementation ideas (optional)
<Your answer>
- links to
-
RHEA-2024:139598 Red Hat build of Debezium 2.5.4 release