Skip to content

Commit

Permalink
Add MiMa filters for internal API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ennru authored and longshorej committed Mar 21, 2019
1 parent a9470d4 commit 2e24b6e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# PR #1595
# https://github.com/akka/alpakka/pull/1595
ProblemFilters.exclude[Problem]("akka.stream.alpakka.mqtt.streaming.impl.*")
# private[streaming]
ProblemFilters.exclude[MissingMethodProblem]("akka.stream.alpakka.mqtt.streaming.scaladsl.MqttClientSession.commandFlow")
ProblemFilters.exclude[MissingMethodProblem]("akka.stream.alpakka.mqtt.streaming.scaladsl.ActorMqttClientSession.commandFlow")
# private[streaming]
ProblemFilters.exclude[MissingMethodProblem]("akka.stream.alpakka.mqtt.streaming.scaladsl.MqttClientSession.eventFlow")
ProblemFilters.exclude[MissingMethodProblem]("akka.stream.alpakka.mqtt.streaming.scaladsl.ActorMqttClientSession.eventFlow")
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ final class ActorMqttClientSession(settings: MqttSessionSettings)(implicit mat:

private val pingReqBytes = PingReq.encode(ByteString.newBuilder).result()

override def commandFlow[A](connectionId: ByteString): CommandFlow[A] =
private[streaming] override def commandFlow[A](connectionId: ByteString): CommandFlow[A] =
Flow
.lazyInitAsync { () =>
val killSwitch = KillSwitches.shared("command-kill-switch-" + clientSessionId)
Expand Down Expand Up @@ -249,7 +249,7 @@ final class ActorMqttClientSession(settings: MqttSessionSettings)(implicit mat:
}
.mapMaterializedValue(_ => NotUsed)

override def eventFlow[A](connectionId: ByteString): EventFlow[A] =
private[streaming] override def eventFlow[A](connectionId: ByteString): EventFlow[A] =
Flow[ByteString]
.watch(clientConnector.toUntyped)
.watchTermination() {
Expand Down

0 comments on commit 2e24b6e

Please sign in to comment.