GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — It is not necessary to put TopicValidator.AUTO_CREATE_TOPIC_KEY_TOPIC when call DefaultMQProducerImpl#start(). · Issue #6001 · apache/rocketmq

It is not necessary to put TopicValidator.AUTO_CREATE_TOPIC_KEY_TOPIC when call DefaultMQProducerImpl#start(). #6001

New issue
Copy link
New issue
Copy link
Closed
#6564
Closed
It is not necessary to put TopicValidator.AUTO_CREATE_TOPIC_KEY_TOPIC when call DefaultMQProducerImpl#start().#6001
#6564
Copy link
Labels
module/client

Description

@coderbruis
coderbruis
opened on Feb 6, 2023
Issue body actions

The issue tracker is used for bug reporting purposes ONLY whereas feature request needs to follow the RIP process. To avoid unnecessary duplication, please check whether there is a previous issue before filing a new one.

It is recommended to start a discussion thread in the mailing lists in cases of discussing your deployment plan, API clarification, and other non-bug-reporting issues.
We welcome any friendly suggestions, bug fixes, collaboration, and other improvements.

Please ensure that your bug report is clear and self-contained. Otherwise, it would take additional rounds of communication, thus more time, to understand the problem itself.

Generally, fixing an issue goes through the following steps:

  1. Understand the issue reported;
  2. Reproduce the unexpected behavior locally;
  3. Perform root cause analysis to identify the underlying problem;
  4. Create test cases to cover the identified problem;
  5. Work out a solution to rectify the behavior and make the newly created test cases pass;
  6. Make a pull request and go through peer review;

As a result, it would be very helpful yet challenging if you could provide an isolated project reproducing your reported issue. Anyway, please ensure your issue report is informative enough for the community to pick up. At a minimum, include the following hints:

BUG REPORT

  1. Please describe the issue you observed:
  • What did you do (The steps to reproduce)?

  • What is expected to see?

  • What did you see instead?

  1. Please tell us about your environment:

  2. Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):

FEATURE REQUEST

  1. Please describe the feature you are requesting.

  2. Provide any additional detail on your proposed use case for this feature.

  3. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?

  4. If there are some sub-tasks involved, use -[] for each sub-task and create a corresponding issue to map to the sub-task:

  • sub-task1-issue-number: sub-task1 description here,
  • sub-task2-issue-number: sub-task2 description here,
  • ...

It is not necessary to put TopicValidator.AUTO_CREATE_TOPIC_KEY_TOPIC to topicPublishInfoTable when call DefaultMQProducerImpl#start(). See the code of DefaultMQProducerImpl, the line 236.

In my opinion, the TopicValidator.AUTO_CREATE_TOPIC_KEY_TOPIC is controlled by config of autoCreateTopicEnable. If the autoCreateTopicEnable set true, the constructor of TopicConfigManager will put the TBW102 to the topicConfigTable, when the broker start, it will be registered to the namesrv. If the autoCreateTopicEnable set false(It is recommended), so the MQClientInstance#updateTopicRouteInfoFromNameServer()(the line 359) can reduce one network call

Activity

  1. coderbruis commented on Feb 6, 2023

    @coderbruis
    coderbruis
    on Feb 6, 2023
    ContributorAuthor
    More actions

    The call chain is: DefaultMQPushConsumerImpl.start() -> mQClientFactory.start() -> this.defaultMQProducer.getDefaultMQProducerImpl().start(false) ->this.topicPublishInfoTable.put(this.defaultMQProducer.getCreateTopicKey(), new TopicPublishInfo()).

  2. Oliverwqcwrw
    added
    module/client
    on Feb 7, 2023
  3. francisoliverlee
    linked a pull request that will close this issue[ISSUE #6001]Remove unnecessary code #6003on Feb 7, 2023
  4. HScarb
    closed this as completedon Apr 10, 2023
  5. Drifter-yh
    added a commit that references this issue on Nov 24, 2026

    fix(connector/rocketmq): stop periodic TBW102 route refresh warning

    9fc7c4e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    module/client

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.