You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/05/03 00:17:00 UTC

[jira] [Commented] (KAFKA-8285) Handle thread-id random switch on JVM for KStream

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

ASF GitHub Bot commented on KAFKA-8285:
---------------------------------------

guozhangwang commented on pull request #6632: KAFKA-8285: enable localized thread IDs in Kafka Streams
URL: https://github.com/apache/kafka/pull/6632
 
 
   
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Handle thread-id random switch on JVM for KStream
> -------------------------------------------------
>
>                 Key: KAFKA-8285
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8285
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: streams
>            Reporter: Boyang Chen
>            Assignee: Boyang Chen
>            Priority: Major
>
> Currently we are potentially at risk by being bite for interleaving stream thread ids. It is because we share the same init config number when two stream instances happen to be scheduled under one JVM. This would be bad scenario because we could have different thread-ids throughout restarts, which invalidates static membership.
> For example for once our thread id assigned were 1,2,3,4 for instance A and 5, 6, 7, 8 for instance B. On the restart of both instances, the same atomic update could be applied as 1,3,5,7 for A and 2,4,6,8 for B, which changes their group.instance.ids.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)