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 9A6CB200B41 for ; Thu, 7 Jul 2016 15:11:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 993AE160A75; Thu, 7 Jul 2016 13:11:12 +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 E908F160A59 for ; Thu, 7 Jul 2016 15:11:11 +0200 (CEST) Received: (qmail 68835 invoked by uid 500); 7 Jul 2016 13:11:11 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 68808 invoked by uid 99); 7 Jul 2016 13:11:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2016 13:11:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EA67A2C0003 for ; Thu, 7 Jul 2016 13:11:10 +0000 (UTC) Date: Thu, 7 Jul 2016 13:11:10 +0000 (UTC) From: "Tzu-Li (Gordon) Tai (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (FLINK-4170) Remove `CONFIG_` prefix from KinesisConfigConstants variables MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 07 Jul 2016 13:11:12 -0000 [ https://issues.apache.org/jira/browse/FLINK-4170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15366067#comment-15366067 ] Tzu-Li (Gordon) Tai edited comment on FLINK-4170 at 7/7/16 1:10 PM: -------------------------------------------------------------------- [~uce] I had this in mind too, especially the recent additional configs in the consumer are really really long :P +1 from me :) was (Author: tzulitai): I had this in mind too, especially the recent additional configs in the consumer are really really long :P +1 from me :) > Remove `CONFIG_` prefix from KinesisConfigConstants variables > ------------------------------------------------------------- > > Key: FLINK-4170 > URL: https://issues.apache.org/jira/browse/FLINK-4170 > Project: Flink > Issue Type: Improvement > Components: Streaming Connectors > Reporter: Ufuk Celebi > Fix For: 1.1.0 > > > I find the static variable names verbose. I think it's clear from context that they refer to the Kinesis configuration since they are all gathered in that class. > Therefore would like to remove the {{CONFIG_}} prefix before the release, so that we have > {code} > conf.put(KinesisConfigConstants.AWS_REGION, "") > {code} > instead of > {code} > conf.put(KinesisConfigConstants.CONFIG_AWS_REGION, "") > {code} > For longer variables it becomes even longer otherwise. > --- > Some basic variable names that might be accessed frequently are also very long: > {code} > CONFIG_AWS_CREDENTIALS_PROVIDER_BASIC_SECRETKEY > CONFIG_AWS_CREDENTIALS_PROVIDER_BASIC_ACCESSKEYID > {code} > It might suffice to just have: > {code} > AWS_SECRET_KEY > AWS_ACCESS_KEY > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)