From commits-return-10316-archive-asf-public=cust-asf.ponee.io@pulsar.incubator.apache.org Mon Jul 2 19:44:23 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 2941E180626 for ; Mon, 2 Jul 2018 19:44:22 +0200 (CEST) Received: (qmail 35713 invoked by uid 500); 2 Jul 2018 17:44:22 -0000 Mailing-List: contact commits-help@pulsar.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pulsar.incubator.apache.org Delivered-To: mailing list commits@pulsar.incubator.apache.org Received: (qmail 35704 invoked by uid 99); 2 Jul 2018 17:44:22 -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; Mon, 02 Jul 2018 17:44:22 +0000 From: GitBox To: commits@pulsar.apache.org Subject: [GitHub] rdhabalia opened a new pull request #2068: Pass encryption-context to pulsar-sink if source receive encrypted message Message-ID: <153055346172.13611.1962045235902983449.gitbox@gitbox.apache.org> Date: Mon, 02 Jul 2018 17:44:21 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit rdhabalia opened a new pull request #2068: Pass encryption-context to pulsar-sink if source receive encrypted message URL: https://github.com/apache/incubator-pulsar/pull/2068 ### Motivation with #2024, consumer creates message with `EncryptionContext` which can be used if encrypted-message payload can't be decrypted by consumer so, application requires it to decrypt payload. So, if pulsar-function can't decrypt it then EncryptionCtx must be pass to pulsar-sink using which it can decrypt message-payload. ### Modifications Pass EncryptionContex to Pulsar-sink. ### Result Pulsar-sink can consume encrypted-raw message and it can be decrypted by application using EncryptionCtx embedded into the message. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services