Skip to content

Conversation

@jeqo
Copy link
Contributor

@jeqo jeqo commented Jun 20, 2023

ExtractTopic transform only supports schema-based values at the moment.
This proposal extends this support to schema-less values as well (e.g. Maps or primitive values).

Resolves #90

@jeqo jeqo requested review from a team as code owners June 20, 2023 13:41
@jeqo jeqo force-pushed the jeqo/extract-topic-schemaless branch 3 times, most recently from ea052c1 to 7441f29 Compare June 21, 2023 07:37
Copy link
Contributor

@jjaakola-aiven jjaakola-aiven left a comment

Choose a reason for hiding this comment

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

Update the documentation accordingly in README.md.

@NullAndEmptySource
void fieldName_NullOrEmptyValueOrMissingField_Skip(final String value) {
void fieldName_NullOrEmptyValue_NoSkip_Schemaless(final String value) {
final Map<String, Object> valueMap = new HashMap<>();
Copy link
Contributor

Choose a reason for hiding this comment

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

This and the test fieldName_NullOrEmptyValueOrMissingField_Skip_Schemaless could have extra fields in the map.

@jeqo jeqo force-pushed the jeqo/extract-topic-schemaless branch from 7441f29 to 2dbe061 Compare June 21, 2023 10:40
@jeqo jeqo requested a review from jjaakola-aiven June 21, 2023 10:41
@jeqo jeqo force-pushed the jeqo/extract-topic-schemaless branch from 20aaa31 to 3b5ed7b Compare June 21, 2023 12:34
@jjaakola-aiven jjaakola-aiven merged commit dbdcd9c into master Jun 21, 2023
@jjaakola-aiven jjaakola-aiven deleted the jeqo/extract-topic-schemaless branch June 21, 2023 12:54
@jeqo jeqo mentioned this pull request Jun 21, 2023
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.

ExtractTopic, key schema can't be null

3 participants