From commits-return-14724-apmail-kafka-commits-archive=kafka.apache.org@kafka.apache.org Fri Jun 5 20:55:11 2020 Return-Path: X-Original-To: apmail-kafka-commits-archive@www.apache.org Delivered-To: apmail-kafka-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id AF5DA199A8 for ; Fri, 5 Jun 2020 20:55:11 +0000 (UTC) Received: (qmail 988 invoked by uid 500); 5 Jun 2020 20:55:11 -0000 Delivered-To: apmail-kafka-commits-archive@kafka.apache.org Received: (qmail 949 invoked by uid 500); 5 Jun 2020 20:55:10 -0000 Mailing-List: contact commits-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list commits@kafka.apache.org Received: (qmail 937 invoked by uid 99); 5 Jun 2020 20:55:10 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jun 2020 20:55:10 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id B8AB6814A0; Fri, 5 Jun 2020 20:55:10 +0000 (UTC) Date: Fri, 05 Jun 2020 20:55:02 +0000 To: "commits@kafka.apache.org" Subject: [kafka] branch 2.6 updated (2dbad36 -> 2eeac88) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <159139049943.28728.1928665750431402507@gitbox.apache.org> From: rhauch@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: kafka X-Git-Refname: refs/heads/2.6 X-Git-Reftype: branch X-Git-Oldrev: 2dbad3695228fc4e353dc21ecbd84dd12a7291f8 X-Git-Newrev: 2eeac88c578a7a053369a5e751824bb6729b6f58 X-Git-NotificationType: ref_changed X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. rhauch pushed a change to branch 2.6 in repository https://gitbox.apache.org/repos/asf/kafka.git. from 2dbad36 MINOR: Change the order that Connect calls `config()` and `validate()` to avoid validating if the required ConfigDef is null (#8810) new c5333d5 KAFKA-10110: Corrected potential NPE when null label value added to KafkaMetricsContext (#8811) new 2eeac88 KAFKA-10111: Make SinkTaskContext.errantRecordReporter() a default method (#8814) The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../kafka/common/metrics/KafkaMetricsContext.java | 2 +- .../common/metrics/KafkaMetricsContextTest.java | 89 ++++++++++++++++++++++ .../apache/kafka/connect/sink/SinkTaskContext.java | 4 +- 3 files changed, 93 insertions(+), 2 deletions(-) create mode 100644 clients/src/test/java/org/apache/kafka/common/metrics/KafkaMetricsContextTest.java