Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-7267

Add support for lists of hosts to connect

    XMLWordPrintableJSON

Details

    Description

      The RMQConnectionConfig can assign one host:port only. I want to connect to a cluster with an available node.
      My workaround is write my own sink extending RMQSink and override open(), assigning the nodes list in it.

            connection = factory.newConnection(addrs)
      

      I still need to build the RMQConnectionConfig with a dummy host:port or a node in list. It's annoying.
      I think it is better to provide a configuration for it.

      Attachments

        Issue Links

          Activity

            People

              austince Austin Cawley-Edwards
              Hu Hailin Hu Hailin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: