[ 
https://issues.apache.org/jira/browse/FLINK-8018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16243453#comment-16243453
 ] 

ASF GitHub Bot commented on FLINK-8018:
---------------------------------------

GitHub user sihuazhou opened a pull request:

    https://github.com/apache/flink/pull/4979

    RMQSource support disabling queue declaration

    ## What is the purpose of the change
    
    This PR fixs 
[FLINK-8018](https://issues.apache.org/jira/browse/FLINK-8018), RabbitMQ 
connector should support disabling the call of queueDeclare or not, in case 
that user does not have sufficient authority to declare the queue.
    
    ## Brief change log
    
      - *Add queueDeclaration in RMQConnectionConfig to support enable or 
disable queue declaration, the default value is true*
    
    ## Verifying this change
    
    This is a trivial change.
    
    ## Does this pull request potentially affect one of the following parts:
    
      - Dependencies (does it add or upgrade a dependency): (no)
      - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (no)
      - The serializers: (no)
      - The runtime per-record code paths (performance sensitive): (no)
      - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
    
    ## Documentation
      - Does this pull request introduce a new feature? (no)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sihuazhou/flink RMQ_disable_queuedeclare

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/4979.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4979
    
----
commit ae69a201e863eb21b5cf083d05430fe344ed8342
Author: summerleafs <summerle...@163.com>
Date:   2017-11-08T06:00:55Z

    introduce queueDeclaration for RMQConnectionConfig.

commit 4f4fb71aba2be312829f00ced6801e3439e67533
Author: summerleafs <summerle...@163.com>
Date:   2017-11-08T06:32:19Z

    fix build.

commit a41b495715acbfd4251f65aa2d023c90e1a7bb94
Author: summerleafs <summerle...@163.com>
Date:   2017-11-08T06:39:50Z

    set queueDeclaration default value to true.

----


> RMQ does not support disabling queueDeclare, when the user has no declaration 
> permissions, it cannot connect
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-8018
>                 URL: https://issues.apache.org/jira/browse/FLINK-8018
>             Project: Flink
>          Issue Type: Bug
>          Components: RabbitMQ Connector
>    Affects Versions: 1.3.2
>            Reporter: Sihua Zhou
>            Assignee: Sihua Zhou
>
> RabbitMQ connector should support disabling the call of queueDeclare or not, 
> in case that user does not have sufficient authority to declare the queue.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to