Skip to content

Fix arangodb and kafka-offsetrepository examples#179

Merged
Croway merged 1 commit intoapache:mainfrom
Croway:quick-fix/fix-arangodb-kafka-examples
Apr 13, 2026
Merged

Fix arangodb and kafka-offsetrepository examples#179
Croway merged 1 commit intoapache:mainfrom
Croway:quick-fix/fix-arangodb-kafka-examples

Conversation

@Croway
Copy link
Copy Markdown
Contributor

@Croway Croway commented Apr 13, 2026

Summary

  • arangodb: Add explicit host=localhost and port=8529 config (required since ArangoDB driver 7.24+) and use BaseDocument.class instead of String.class for FIND_DOCUMENT_BY_KEY result type (Jackson 2.21 no longer coerces JSON objects to String)
  • kafka-offsetrepository: Add recordMetadata=true to Kafka producer endpoint (default changed from true to false)

Test plan

  • Start ArangoDB via camel infra run arangodb, run example, verify document is saved and retrieved
  • Start Kafka via camel infra run kafka, run example, verify producer logs partition metadata

- arangodb: add explicit host/port config required since driver 7.24+
  and use BaseDocument instead of String for FIND_DOCUMENT_BY_KEY result
- kafka-offsetrepository: add recordMetadata=true since default changed
@Croway Croway merged commit 812ccdc into apache:main Apr 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants