cadonna commented on code in PR #12137:
URL: https://github.com/apache/kafka/pull/12137#discussion_r870087908
##########
streams/src/main/java/org/apache/kafka/streams/errors/StreamsException.java:
##########
@@ -31,24 +37,34 @@ public class StreamsException extends KafkaException {
private final static long serialVersionUID = 1L;
- private TaskId taskId;
+ private final Set<TaskId> taskIds = new HashSet<>();
public StreamsException(final String message) {
this(message, (TaskId) null);
}
public StreamsException(final String message, final TaskId taskId) {
super(message);
- this.taskId = taskId;
+ taskIds.add(taskId);
+ }
+
+ public StreamsException(final String message, final Set<TaskId> taskIds) {
Review Comment:
Switched to package-private.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]