You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/09/28 22:18:01 UTC

[GitHub] [kafka] ableegoldman opened a new pull request #11364: MINOR: expand logging and improve error message during partition count resolution

ableegoldman opened a new pull request #11364:
URL: https://github.com/apache/kafka/pull/11364


   Recently a user hit this TaskAssignmentException due to a bug in their regex that meant no topics matched the pattern subscription, which in turn meant that it was impossible to resolve the number of partitions of the downstream repartition since there was no upstream topic to get the partition count for. Debugging this was pretty difficult and ultimately came down to stepping through the code line by line, since even with TRACE logging we only got a partial picture. 
   
   We should expand the logging to make sure the TRACE logging hits both conditional branches, and improve the error message with a suggestion for what to look for should someone hit this in the future


-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kafka] ableegoldman commented on pull request #11364: MINOR: expand logging and improve error message during partition count resolution

Posted by GitBox <gi...@apache.org>.
ableegoldman commented on pull request #11364:
URL: https://github.com/apache/kafka/pull/11364#issuecomment-929670722


   See also: https://issues.apache.org/jira/browse/KAFKA-13332


-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kafka] guozhangwang commented on pull request #11364: MINOR: expand logging and improve error message during partition count resolution

Posted by GitBox <gi...@apache.org>.
guozhangwang commented on pull request #11364:
URL: https://github.com/apache/kafka/pull/11364#issuecomment-930401502


   LGTM! Thanks.


-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kafka] ableegoldman commented on pull request #11364: MINOR: expand logging and improve error message during partition count resolution

Posted by GitBox <gi...@apache.org>.
ableegoldman commented on pull request #11364:
URL: https://github.com/apache/kafka/pull/11364#issuecomment-929670994


   call for review @lct45 @wcarlson5 @cadonna 


-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kafka] ableegoldman merged pull request #11364: MINOR: expand logging and improve error message during partition count resolution

Posted by GitBox <gi...@apache.org>.
ableegoldman merged pull request #11364:
URL: https://github.com/apache/kafka/pull/11364


   


-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kafka] ableegoldman commented on pull request #11364: MINOR: expand logging and improve error message during partition count resolution

Posted by GitBox <gi...@apache.org>.
ableegoldman commented on pull request #11364:
URL: https://github.com/apache/kafka/pull/11364#issuecomment-929670722






-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kafka] guozhangwang commented on pull request #11364: MINOR: expand logging and improve error message during partition count resolution

Posted by GitBox <gi...@apache.org>.
guozhangwang commented on pull request #11364:
URL: https://github.com/apache/kafka/pull/11364#issuecomment-930401502


   LGTM! Thanks.


-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org