From issues-return-94166-archive-asf-public=cust-asf.ponee.io@nifi.apache.org Sun Mar 15 09:26:02 2020 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 [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id EAF17180637 for ; Sun, 15 Mar 2020 10:26:01 +0100 (CET) Received: (qmail 12003 invoked by uid 500); 15 Mar 2020 09:26:01 -0000 Mailing-List: contact issues-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list issues@nifi.apache.org Received: (qmail 11994 invoked by uid 99); 15 Mar 2020 09:26:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Mar 2020 09:26:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8D9D8E103B for ; Sun, 15 Mar 2020 09:26:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 0814E780105 for ; Sun, 15 Mar 2020 09:26:00 +0000 (UTC) Date: Sun, 15 Mar 2020 09:26:00 +0000 (UTC) From: "Shreyas KC (Jira)" To: issues@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (NIFI-7246) JWT Generated by a node in the cluster is not honored by other nodes in the cluster. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NIFI-7246?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D17059= 589#comment-17059589 ]=20 Shreyas KC commented on NIFI-7246: ---------------------------------- [~pvillard]=C2=A0 We create flows through NiFI APIs based on the metadata d= efinition of the pipeline.There is a microservice stack which does that.=C2= =A0 The cluster is setup using 3 nodes.=C2=A0 We have an external load balancer.=C2=A0 Without having a mechanism to share Token, we need to have a sticky session= in place and we will end up spiking a single node with all the requests. I= t makes sense to load balance across all the nodes. Which would result bett= er efficient execution.=C2=A0 This is also applicable in monitoring the cluster, flows etc. let me know if it makes sense. > JWT Generated by a node in the cluster is not honored by other nodes in t= he cluster. > -------------------------------------------------------------------------= ----------- > > Key: NIFI-7246 > URL: https://issues.apache.org/jira/browse/NIFI-7246 > Project: Apache NiFi > Issue Type: Improvement > Components: Core Framework, Security > Reporter: Shreyas KC > Priority: Major > Time Spent: 0.5h > Remaining Estimate: 0h > > In an externally load balanced cluster without sticky session, it is not = possible to currently share the JWT generated by one node with the rest of = the nodes in the cluster. > Hence we need a mechanism where we can introduce static key in the nifi.p= roperties in its chosen by the cluster administrator. -- This message was sent by Atlassian Jira (v8.3.4#803005)