Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ def pekkoConnectorProject(projectId: String,
},
mimaBinaryIssueFilters ++= Seq(
ProblemFilters.exclude[Problem]("*.impl.*"),
ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.pekko.stream.connectors.mqtt.streaming.ControlPacketFlags.ReservedUnsubAck"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you have a look in the repo? We tend to use files in src/mima-filters to add the excludes - a new file with each PR that breaks bin compat.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked the repo, but couldn't find a file for mqtt-streaming folder. Should I create a new one?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pjfanning I created the file.

// generated code
ProblemFilters.exclude[Problem]("com.google.*")),
Test / parallelExecution := false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ object MqttCodec {
: Vector[(Either[DecodeError, String], ControlPacketFlags)] =
if (remainingLen > 0) {
val packetLenAtTopicFilter = v.len
val topicFilter = (v.decodeString(), ControlPacketFlags(v.getByte & 0xFF))
val topicFilter = (v.decodeString(), ControlPacketFlags((v.getByte & 0xFF) << 1))
decodeTopicFilters(remainingLen - (packetLenAtTopicFilter - v.len), topicFilters :+ topicFilter)
} else {
topicFilters
Expand Down