-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement QoS 1 and QoS 2 #589
Conversation
@@ -146,7 +165,12 @@ public class MqttKafkaSubscribeFactory implements MqttKafkaStreamFactory | |||
private final int reconnectDelay; | |||
private final boolean bootstrapAvailable; | |||
private final List<KafkaMessagesBootstrap> bootstrapStreams; | |||
|
|||
private final AtomicInteger packetIdCounter; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for concurrent data structure here, use MutableInteger
instead.
@@ -1494,15 +1785,39 @@ public void flushDataIfNecessary( | |||
} | |||
} | |||
|
|||
final class KafkaRetainedProxy | |||
//TODO: how to make these more efficient while keeping the internal object easily modifieable (not using FW)? | |||
private IntArrayList stringToOffsetMetadataList( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's track this as an issue post merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Filed and tracked via #675
…nt via getValue instead of unboxing Integer via get
Fixes #602 #603 #604