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-kafka binding implementation #235

Merged

Conversation

bmaidics
Copy link
Contributor

@bmaidics bmaidics commented May 9, 2023

No description provided.

public final OctetsFW kafkaContentTypeHeaderOctets;
public final OctetsFW kafkaFormatHeaderOctets;
public final OctetsFW kafkaReplyToHeaderOctets;
public final OctetsFW kafkaCorrelationHeaderOctets;
Copy link
Contributor

Choose a reason for hiding this comment

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

Can these be private?

Suggest renaming kafkaTopicHeaderOctets to kafkaTopicHeaderName, etc.
In general, try to name variables for their intent rather than their type as it helps to better self-document the code.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We precompute these header name octets in the helper, and use them in PublishProxyFactory. So it's either public or private and we create getters.

Copy link
Contributor

@jfallows jfallows left a comment

Choose a reason for hiding this comment

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

Please see additional feedback.

@jfallows jfallows merged commit d71bf1b into aklivity:feature/mqtt-kafka May 11, 2023
@jfallows jfallows linked an issue May 11, 2023 that may be closed by this pull request
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.

MQTT and MQTT-Kafka bindings
2 participants