Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set opencdc.collection metadata #129

Merged
merged 3 commits into from
Apr 9, 2024
Merged

Conversation

lovromazgon
Copy link
Member

@lovromazgon lovromazgon commented Apr 8, 2024

Description

This change adds the opencdc.collection metadata.

I did not remove the kafka.topic field (yet), I'd like to discuss if we should keep both or just opencdc.collection. After discussing with @raulb we decided to not store redundant info in the record and potentially address this in the future by letting the connector advertise what metadata field contains the collection name.

Fixes ConduitIO/conduit#1476.

Quick checks:

  • I have followed the Code Guidelines.
  • There is no other pull request for the same update/change.
  • I have written unit tests.
  • I have made sure that the PR is of reasonable size and can be easily reviewed.

@lovromazgon lovromazgon requested a review from a team as a code owner April 8, 2024 14:46
raulb
raulb previously approved these changes Apr 8, 2024
@raulb raulb dismissed their stale review April 8, 2024 15:45

looks like we still need to update tests

@lovromazgon lovromazgon enabled auto-merge (squash) April 9, 2024 12:27
@lovromazgon lovromazgon merged commit bdd435d into main Apr 9, 2024
3 checks passed
@lovromazgon lovromazgon deleted the lovro/opencdc-collection branch April 9, 2024 12:28
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.

MC: Kafka Source - Populate opencdc.collection
2 participants