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

Include validators in the mqtt config generator #467

Merged

Conversation

attilakreiner
Copy link
Contributor

@attilakreiner attilakreiner commented Sep 24, 2023

Description

Include validators in the mqtt config generator.

Fixes #461

@attilakreiner attilakreiner changed the title Gen mqtt conf val Include validators in the mqtt config generator Sep 24, 2023
import jakarta.json.bind.annotation.JsonbProperty;

public class Channel
{
public String address;
public LinkedHashMap<String, Message> messages;
Copy link
Contributor

Choose a reason for hiding this comment

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

This should just be Map<String, Message> right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's necessary to maintain the order here for a deterministic output.

  • That's needed for the consistent run of the unit tests.
  • I believe it's a good practice for the production code, too.

@attilakreiner attilakreiner marked this pull request as ready for review September 25, 2023 07:22
@jfallows jfallows merged commit bda55bf into aklivity:feature/schema-registry Sep 25, 2023
@jfallows jfallows linked an issue Sep 25, 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.

Generate mqtt server publish validators from AsyncAPI specification
2 participants