Skip to content

Commit

Permalink
[Java] Remove session id from response channel when replaying via res…
Browse files Browse the repository at this point in the history
…ponse channels.
  • Loading branch information
mikeb01 committed Nov 1, 2024
1 parent c4d6a60 commit 21d5db0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3956,6 +3956,7 @@ private Subscription replayViaResponseChannel(
replayParams.replayToken(replayToken);
final Subscription replaySubscription = aeron.addSubscription(replayChannel, replayStreamId);
final ChannelUriStringBuilder uriBuilder = new ChannelUriStringBuilder(context.controlRequestChannel())
.sessionId((Integer)null)
.responseCorrelationId(replaySubscription.registrationId())
.termId((Integer)null).initialTermId((Integer)null).termOffset((Integer)null)
.termLength(64 * 1024)
Expand Down Expand Up @@ -4025,6 +4026,7 @@ private long startReplayViaResponseChannel(

replayParams.replayToken(replayToken);
final ChannelUriStringBuilder uriBuilder = new ChannelUriStringBuilder(context.controlRequestChannel())
.sessionId((Integer)null)
.responseCorrelationId(replayParams.subscriptionRegistrationId())
.termId((Integer)null).initialTermId((Integer)null).termOffset((Integer)null)
.termLength(64 * 1024)
Expand Down

0 comments on commit 21d5db0

Please sign in to comment.