Diogo-Sardagna opened a new pull request, #26750: URL: https://github.com/apache/flink/pull/26750
Introduces a defensive check at the beginning of the ‘flatMap’ method in the WordCount.Tokenizer class to ensure the input string is neither null nor blank. This change prevents unnecessary computation and avoids potential runtime exceptions caused by malformed or empty input data. It increases the robustness of the WordCount example, especially in streaming scenarios where data sources may emit invalid or incomplete records. This contributes to safer processing and better fault tolerance. -- 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]
