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

[Improve][Connector-V2] RocketMQ Source add message tag config #8825

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

wuchunfu
Copy link
Member

Purpose of this pull request

RocketMQ Source add message tag config

Does this PR introduce any user-facing change?

How was this patch tested?

Check list

@wuchunfu
Copy link
Member Author

@Hisoka-X PATL, thanks.

Comment on lines 210 to 220
DefaultSeaTunnelRowSerializer serializer =
new DefaultSeaTunnelRowSerializer(
"test_topic_text_tag",
"test_tag",
SEATUNNEL_ROW_TYPE,
SchemaFormat.TEXT,
DEFAULT_FIELD_DELIMITER);
generateTestData(serializer::serializeRow, "test_topic_text_tag", 0, 100);
Container.ExecResult execResult =
container.executeJob("/rocketmq-source_text_tag_to_console.conf");
Assertions.assertEquals(0, execResult.getExitCode(), execResult.getStderr());
Copy link
Member

Choose a reason for hiding this comment

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

Can we write data of different tags to verify whether the filtering is effective?

Comment on lines 79 to 86
{
rule_type = MIN
rule_value = 0
},
{
rule_type = MAX
rule_value = 99
}
Copy link
Member

Choose a reason for hiding this comment

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

Use an exact amount of data, not a range

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants