wangxianghu commented on code in PR #5697:
URL: https://github.com/apache/hudi/pull/5697#discussion_r882903520
##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/sources/processor/maxwell/MaxwellJsonKafkaSourcePostProcessor.java:
##########
@@ -49,12 +48,15 @@
*/
public class MaxwellJsonKafkaSourcePostProcessor extends
JsonKafkaSourcePostProcessor {
- private static final Logger LOG =
LogManager.getLogger(MaxwellJsonKafkaSourcePostProcessor.class);
-
private static final ObjectMapper MAPPER = new ObjectMapper();
+ private final String databaseRegex;
+ private final String tableRegex;
Review Comment:
Move them out of `isTargetTable` function for better performance.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]