You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Umesh Chaudhary (JIRA)" <ji...@apache.org> on 2017/05/04 05:08:04 UTC

[jira] [Commented] (KAFKA-5171) TC should not accept empty string transactional id

    [ https://issues.apache.org/jira/browse/KAFKA-5171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15996180#comment-15996180 ] 

Umesh Chaudhary commented on KAFKA-5171:
----------------------------------------

[~guozhang] , Please review the PR. 

> TC should not accept empty string transactional id
> --------------------------------------------------
>
>                 Key: KAFKA-5171
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5171
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: core
>            Reporter: Guozhang Wang
>             Fix For: 0.11.0.0
>
>
> Currently on TC, both `null` and `empty string` will be accepted and a new pid will be returned. However, on the producer client end empty string transactional id is not allowed, and if user specifically set it with empty string RTE will be thrown.
> We can make TC's behavior consistent with client to also reject empty string transactional id.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)