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

Stop removing _rev from sink documents #77

Merged
merged 8 commits into from
Jun 7, 2022

Conversation

emlaver
Copy link
Contributor

@emlaver emlaver commented Jun 6, 2022

Checklist

  • Tick to sign-off your agreement to the Developer Certificate of Origin (DCO) 1.1
  • Added tests for code changes or test/build only changes
  • Updated the change log file (CHANGES.md|CHANGELOG.md) or test/build only changes
  • Completed the PR template below:

Description

fixes #72

Approach

Schema & API Changes

Security and Privacy

Testing

Monitoring and Logging

@emlaver emlaver self-assigned this Jun 6, 2022
Copy link
Member

@ricellis ricellis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, 1 nit

README.md Outdated
transforms.ReplaceField.type=org.apache.kafka.connect.transforms.ReplaceField$Value
transforms.ReplaceField.blacklist=_rev
```
For more details, see [`ReplaceField`](https://docs.confluent.io/platform/current/connect/transforms/replacefield.html#replacefield) documentation.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably point to the Apache Kafka documentation rather than the Confluent Platform.
Sadly it doesn't have a direct link to ReplaceField but it is listed amongst the transforms in https://kafka.apache.org/31/documentation.html#connect_transforms

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 4e63cf6

README.md Outdated
```
transforms=ReplaceField
transforms.ReplaceField.type=org.apache.kafka.connect.transforms.ReplaceField$Value
transforms.ReplaceField.blacklist=_rev
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed, should probably use exclude instead of blacklist

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 4e63cf6

Copy link
Contributor

@tomblench tomblench left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but we should use the non-deprecated exclude

@emlaver emlaver requested a review from tomblench June 6, 2022 16:04
@emlaver emlaver merged commit ea81a01 into master Jun 7, 2022
@emlaver emlaver deleted the 72-stop-removing-rev-from-sink-docs branch June 7, 2022 15:24
@ricellis ricellis added this to the 0.100.next milestone Jun 8, 2022
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.

Stop removing _rev from sink documents
3 participants