[
https://issues.apache.org/jira/browse/CAMEL-27966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-27966:
--------------------------------
Description:
Found while improving the option descriptions of camel-debezium for CAMEL-23832
(commit
https://github.com/apache/camel/commit/a43fa856bf61a24517ac0d3fbc25e0e83b77792d,
pull request https://github.com/apache/camel/pull/31200).
These are separate problems of the component; the descriptions change only
documents the current behavior.
h4. 1. The database.history override has no effect
camel-debezium-mysql/pom.xml and camel-debezium-sqlserver/pom.xml override the
field database.history with FileDatabaseHistory. Debezium 2.x renamed that
property to schema.history.internal, so the override does nothing:
schemaHistoryInternal still defaults to
io.debezium.storage.kafka.history.KafkaSchemaHistory, which needs Kafka.
Proposed change: override schema.history.internal (for example with
io.debezium.storage.file.history.FileSchemaHistory) if a file default is
intended, or drop the stale override.
h4. 2. Generated connector option texts that do not fit Camel (from the
Debezium 3.7.1 ConfigDef)
tombstonesOnDelete says emitting the tombstone is the default, but each pom
overrides tombstones.on.delete to false. topicPrefix and includeSchemaChanges
talk about Kafka topics; in Camel the topic name only ends up in the
CamelDebeziumIdentifier header. lsnFlushMode (postgres) says connector is the
default but the option has no defaultValue.
openlineageIntegrationDatasetKafkaBootstrapServers is cut off. The oracle doc
page links to connectors/oracleql.html (should be oracle.html) and the doc
pages link to old Debezium versions.
Proposed change: where Camel overrides the default (tombstonesOnDelete), add a
description override in the generator config, and fix the doc links.
_Claude Code on behalf of davsclaus_
was:
Found while improving the option descriptions of camel-debezium for CAMEL-23832
(pull request https://github.com/apache/camel/pull/31200).
These are separate problems of the component; the descriptions change only
documents the current behavior.
h4. 1. The database.history override has no effect
camel-debezium-mysql/pom.xml and camel-debezium-sqlserver/pom.xml override the
field database.history with FileDatabaseHistory. Debezium 2.x renamed that
property to schema.history.internal, so the override does nothing:
schemaHistoryInternal still defaults to
io.debezium.storage.kafka.history.KafkaSchemaHistory, which needs Kafka.
Proposed change: override schema.history.internal (for example with
io.debezium.storage.file.history.FileSchemaHistory) if a file default is
intended, or drop the stale override.
h4. 2. Generated connector option texts that do not fit Camel (from the
Debezium 3.7.1 ConfigDef)
tombstonesOnDelete says emitting the tombstone is the default, but each pom
overrides tombstones.on.delete to false. topicPrefix and includeSchemaChanges
talk about Kafka topics; in Camel the topic name only ends up in the
CamelDebeziumIdentifier header. lsnFlushMode (postgres) says connector is the
default but the option has no defaultValue.
openlineageIntegrationDatasetKafkaBootstrapServers is cut off. The oracle doc
page links to connectors/oracleql.html (should be oracle.html) and the doc
pages link to old Debezium versions.
Proposed change: where Camel overrides the default (tombstonesOnDelete), add a
description override in the generator config, and fix the doc links.
_Claude Code on behalf of davsclaus_
> camel-debezium-mysql and -sqlserver: the database.history override in the pom
> has no effect
> -------------------------------------------------------------------------------------------
>
> Key: CAMEL-27966
> URL: https://issues.apache.org/jira/browse/CAMEL-27966
> Project: Camel
> Issue Type: Bug
> Components: camel-debezium
> Reporter: Claus Ibsen
> Priority: Minor
> Fix For: 4.25.0
>
>
> Found while improving the option descriptions of camel-debezium for
> CAMEL-23832 (commit
> https://github.com/apache/camel/commit/a43fa856bf61a24517ac0d3fbc25e0e83b77792d,
> pull request https://github.com/apache/camel/pull/31200).
> These are separate problems of the component; the descriptions change only
> documents the current behavior.
> h4. 1. The database.history override has no effect
> camel-debezium-mysql/pom.xml and camel-debezium-sqlserver/pom.xml override
> the field database.history with FileDatabaseHistory. Debezium 2.x renamed
> that property to schema.history.internal, so the override does nothing:
> schemaHistoryInternal still defaults to
> io.debezium.storage.kafka.history.KafkaSchemaHistory, which needs Kafka.
> Proposed change: override schema.history.internal (for example with
> io.debezium.storage.file.history.FileSchemaHistory) if a file default is
> intended, or drop the stale override.
> h4. 2. Generated connector option texts that do not fit Camel (from the
> Debezium 3.7.1 ConfigDef)
> tombstonesOnDelete says emitting the tombstone is the default, but each pom
> overrides tombstones.on.delete to false. topicPrefix and includeSchemaChanges
> talk about Kafka topics; in Camel the topic name only ends up in the
> CamelDebeziumIdentifier header. lsnFlushMode (postgres) says connector is the
> default but the option has no defaultValue.
> openlineageIntegrationDatasetKafkaBootstrapServers is cut off. The oracle doc
> page links to connectors/oracleql.html (should be oracle.html) and the doc
> pages link to old Debezium versions.
> Proposed change: where Camel overrides the default (tombstonesOnDelete), add
> a description override in the generator config, and fix the doc links.
> _Claude Code on behalf of davsclaus_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)