Skip to content

Commit

Permalink
Resolved TODO comments as they are resolved now.
Browse files Browse the repository at this point in the history
Signed-off-by: Juergen Fickel <juergen.fickel@bosch.io>
  • Loading branch information
Juergen Fickel committed Jul 4, 2022
1 parent b36e8a8 commit 8bcc78c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -442,8 +442,6 @@ private ActorRef startMqttConsumerActorOrThrow(final SubscribeResult subscribeRe
subscribeResult.getMqttPublishSourceOrThrow())
);
} else {

// TODO jff really no entry in connection log?
throw subscribeResult.getErrorOrThrow();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ private KillSwitch dropAndLogMqttPublishes() {
private KillSwitch processMqttPublishes() {
final var mqttPublishTransformer = MqttPublishToExternalMessageTransformer.newInstance(sourceAddress, source);

// TODO jff backpressure should work this way, right?
return mqttPublishSource.viaMat(KillSwitches.single(), Keep.right())
.map(mqttPublishTransformer::transform)
.divertTo(getTransformationFailureSink(), TransformationResult::isFailure)
Expand Down

0 comments on commit 8bcc78c

Please sign in to comment.