Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 45029200CBB for ; Tue, 20 Jun 2017 02:59:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 43685160BE4; Tue, 20 Jun 2017 00:59:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8A022160BE1 for ; Tue, 20 Jun 2017 02:59:09 +0200 (CEST) Received: (qmail 65633 invoked by uid 500); 20 Jun 2017 00:59:08 -0000 Mailing-List: contact jira-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@kafka.apache.org Delivered-To: mailing list jira@kafka.apache.org Received: (qmail 65622 invoked by uid 99); 20 Jun 2017 00:59:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jun 2017 00:59:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 2BFCE182880 for ; Tue, 20 Jun 2017 00:59:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.201 X-Spam-Level: X-Spam-Status: No, score=-99.201 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id W6e9wqrkntMG for ; Tue, 20 Jun 2017 00:59:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 1E5795F2F1 for ; Tue, 20 Jun 2017 00:59:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A8D36E0051 for ; Tue, 20 Jun 2017 00:59:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id ED93321E14 for ; Tue, 20 Jun 2017 00:59:00 +0000 (UTC) Date: Tue, 20 Jun 2017 00:59:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: jira@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KAFKA-5472) Connector validate REST endpoint returning duplicate entries in "groups" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 20 Jun 2017 00:59:10 -0000 [ 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 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)