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

Mqtt retained feature #290

Merged
merged 19 commits into from
Jul 14, 2023

Conversation

bmaidics
Copy link
Contributor

@bmaidics bmaidics commented Jun 28, 2023

No description provided.

@bmaidics bmaidics linked an issue Jun 28, 2023 that may be closed by this pull request
this.delegate = new KafkaProxy(originId, resolvedId, this);
this.keyBuffer = new UnsafeBuffer(new byte[bufferCapacity]);
this.headerIntValueBuffer = new UnsafeBuffer(new byte[bufferCapacity]);
this.kafkaHeadersBuffer = new UnsafeBuffer(new byte[bufferCapacity]);
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a lot of buffer allocation to use per stream, let's discuss.

this.retainedSubscriptionIds = new IntArrayList();
this.retainedSubscriptions = new ArrayList<>();
this.retainAsPublished = new Long2ObjectHashMap<>();
this.filtersBuffer = new UnsafeBuffer(new byte[bufferCapacity]);
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 review this per-stream buffer too.

@jfallows jfallows merged commit e99d06d into aklivity:feature/mqtt-kafka Jul 14, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement retained feature for mqtt-kafka
2 participants