-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Feature][Connector-V2] Grok config is supported for file reading #8376
base: dev
Are you sure you want to change the base?
Conversation
@corgy-w Can you add some commonly used built-in grok expressions? |
Could you share some details about what it would be like when this feature finished? |
Wait a moment, I will update doc in next two days |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add e2e
LocalConf localConf = new LocalConf(FS_DEFAULT_NAME_DEFAULT); | ||
xmlReadStrategy.setPluginConfig(pluginConfig); | ||
xmlReadStrategy.init(localConf); | ||
System.out.println("test...................." + xmlFilePath); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use log.info(...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a test to see ci error , I will revert this commit
@@ -40,6 +41,24 @@ public class BaseSourceConfigOptions { | |||
.noDefaultValue() | |||
.withDescription("The file path of source files"); | |||
|
|||
public static final Option<FilePathRule> FILE_PATH_RULE = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add SinkFactory#optionRule()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry,I should create a darft pr, these issues will be fixed later
Purpose of this pull request
#8103
Currently, only the grok parameter can be configured for a read
Does this PR introduce any user-facing change?
How was this patch tested?
Check list
New License Guide
release-note
.