jnh5y commented on PR #12298: URL: https://github.com/apache/kafka/pull/12298#issuecomment-1160686032
> @jnh5y Yeah, you cannot rely on providing the error in the response in your case. Instead, you have to find a place where you can actually throw a custom exception. That could be with a custom assignor for instance. I'm still learning the Kafka codebase, is there an example of using a custom assignor that is easy to understand? Also, should we go to the trouble to test this particular code path or is it sufficient to verify that the `reason` is limited when the function setting it is called? (I can see either argument.) -- 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-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org