Skip to content
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

Merged
merged 24 commits into from
Dec 4, 2023
Merged

Conversation

bmaidics
Copy link
Contributor

@bmaidics bmaidics commented Nov 23, 2023

Fixes #602 #603 #604

@bmaidics bmaidics self-assigned this Nov 23, 2023
@bmaidics bmaidics changed the base branch from develop to feature/mqtt-kafka December 3, 2023 12:14
@bmaidics bmaidics marked this pull request as ready for review December 3, 2023 15:49
@@ -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;
Copy link
Contributor

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(
Copy link
Contributor

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.

Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants