Skip to content

cann't set namesrv with hostname #42

@lemonzone2010

Description

@lemonzone2010

I try to set namesrv with host name ,but it doesn’t work:

  1. producer.setNamesrvAddr("name1.xxx.domain:9876;name2.xxx.domain:9876");
  2. producer.setNamesrvDomain("name1.xxx.domain:9876;name2.xxx.domain:9876");

And The following error occurred:

Type: MQClientException , msg: No route info of this topic, error:-1

It's ok only when i set namesrv with ip

producer.setNamesrvAddr("192.168.0.1:9876;192.168.0.2:9876");

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions