You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/20 00:59:00 UTC

[jira] [Commented] (KAFKA-5472) Connector validate REST endpoint returning duplicate entries in "groups"

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

ASF GitHub Bot commented on KAFKA-5472:
---------------------------------------

GitHub user rhauch opened a pull request:

    https://github.com/apache/kafka/pull/3379

    KAFKA-5472 Eliminated duplicate group names when validating connector results

    Kafka Connect was adding duplicate group names in the response from the REST API's validation of connector configurations. This fixes the duplicates and maintains the order of the `ConfigDef` objects so that the `ConfigValue` results are in the same order.
    
    This is a blocker and should be merged to 0.11.0.

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

    $ git pull https://github.com/rhauch/kafka KAFKA-5472

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

    https://github.com/apache/kafka/pull/3379.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 #3379
    
----
commit d8e6168584cab68ff0844b6d18d8cdb79792427b
Author: Randall Hauch <rh...@gmail.com>
Date:   2017-06-20T00:52:28Z

    KAFKA-5472 Eliminated duplicate group names when validating connector results

----


> Connector validate REST endpoint returning duplicate entries in "groups"
> ------------------------------------------------------------------------
>
>                 Key: KAFKA-5472
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5472
>             Project: Kafka
>          Issue Type: Bug
>          Components: KafkaConnect
>    Affects Versions: 0.11.0.0
>            Reporter: Randall Hauch
>            Assignee: Randall Hauch
>            Priority: Blocker
>
> When calling the REST endpoint to validate a connector configuration, the response includes duplicate values for the {{groups}} field:
> {code:javascript}
> {
>   // ...
>   groups: ["Common", "Transforms", "Common", "Transforms"]
> }
> {code}
> This is a regression and may cause issues for any tooling that is using the Kafka Connect REST API.



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