Skip to content

Conversation

@JavaSaBr
Copy link
Owner

@JavaSaBr JavaSaBr commented Dec 8, 2025

#69

  1. Initial integration ACL service to the Publish mechanism.
  2. Introduce message field validators and migrate PublishInHandler to this

…livering-to-subscribers-part-2

# Conflicts:
#	core-service/src/main/java/javasabr/mqtt/service/publish/handler/impl/Qos1MqttPublishOutMessageHandler.java
#	core-service/src/main/java/javasabr/mqtt/service/publish/handler/impl/Qos2MqttPublishOutMessageHandler.java
#	core-service/src/main/java/javasabr/mqtt/service/publish/handler/impl/TrackableMqttPublishOutMessageHandler.java
#	core-service/src/main/java/javasabr/mqtt/service/session/impl/InMemoryProcessingPublishes.java
…improve-publish-delivering-to-subscribers-part-3
…livering-to-subscribers-part-3

# Conflicts:
#	network/src/main/java/javasabr/mqtt/network/message/out/PublishReleaseMqtt311OutMessage.java
…improve-publish-delivering-to-subscribers-part-4
@JavaSaBr JavaSaBr requested a review from crazyrokr December 8, 2025 18:52
@JavaSaBr JavaSaBr self-assigned this Dec 8, 2025
@github-actions
Copy link

github-actions bot commented Dec 8, 2025

handleNotSupportedRetain(user);
return true;
}
return false;
Copy link
Collaborator

Choose a reason for hiding this comment

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

It seems like the following style is morу understandable to the reader, don't you think so?

if (retain && !connectionConfig.retainAvailable()) {
  log.warning(user.clientId(), "[%s] 'RETAIN' option is not supported"::formatted);
  handleNotSupportedRetain(user);
  return true;
} else {
  return false;
}

Copy link
Owner Author

Choose a reason for hiding this comment

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

@crazyrokr I still totally don't understand why it's better

return true;
}
}
return false;
Copy link
Collaborator

Choose a reason for hiding this comment

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

The same as the comment above

@JavaSaBr JavaSaBr changed the title Improve publish delivering to subscribers part 4 feat: #69 Improve publish delivering to subscribers part 4 Dec 9, 2025
@JavaSaBr JavaSaBr changed the title feat: #69 Improve publish delivering to subscribers part 4 #69 Improve publish delivering to subscribers part 4 Dec 9, 2025
@JavaSaBr JavaSaBr merged commit 5cf46be into develop Dec 9, 2025
6 checks passed
@JavaSaBr JavaSaBr deleted the improve-publish-delivering-to-subscribers-part-4 branch December 9, 2025 19:14
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.

3 participants