Hao Dang created FLINK-13789:
--------------------------------
Summary: Transactional Id Generation fails due to user code impacting formatting string
Key: FLINK-13789
URL:
https://issues.apache.org/jira/browse/FLINK-13789 Project: Flink
Issue Type: Bug
Reporter: Hao Dang
In [TransactionalIdsGenerator.java|[
https://github.com/apache/flink/blob/master/flink-connectors/flink-connector-kafka/src/main/java/org/apache/flink/streaming/connectors/kafka/internal/TransactionalIdsGenerator.java#L94]], prefix contains taskName of the particular task which could ultimately contain user code. In some cases, user code contains conversion specifiers like %, the string formatting could fail.
For example, in Flink SQL code, user could have a LIKE statement with a % wildcard, the % wildcard will end up in the prefix and get mistreated during formatting, causing task to fail.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)