Skip to content

Conversation

@jevinjiang
Copy link
Contributor

Fixes #5127

Motivation
bugfix in #5127

Documentation
Adjusted the judgment when creating a topic,And ask to start the channel when subscribing
Does this pull request introduce a new feature? (no)

TopicMetadata topicMetadata = new TopicMetadata(topicName);
if (!messageContainer.containsKey(topicMetadata)) {
createTopic(topicName);
throw new RuntimeException("The topic is not created");
Copy link
Member

Choose a reason for hiding this comment

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

Better to add a topic name in logs.

@Pil0tXia
Copy link
Member

@jevinjiang Plz check CI errors

@jevinjiang
Copy link
Contributor Author

@jevinjiang Plz check CI errors

completed~

qqeasonchen
qqeasonchen previously approved these changes Nov 18, 2024
@xwm1992 xwm1992 merged commit 831fd72 into apache:master Dec 5, 2024
10 checks passed
@xwm1992 xwm1992 added this to the 1.11.0 milestone Dec 17, 2024
xuhongjia pushed a commit to Deckers-Ohana/eventmesh that referenced this pull request Mar 13, 2025
…#5128)

* [ISSUE apache#5127] fix

* [ISSUE apache#5127] fix

* [ISSUE apache#5127] fix

* [ISSUE apache#5127] fix

* [ISSUE apache#5127] fix checkstyle test

---------

Co-authored-by: JiangShuJu <[email protected]>
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.

[Bug] Create topic error in Standalone mode

5 participants