Pierre Villard created NIFI-12427:
-------------------------------------
Summary: Add channel name attribute in ConsumeSlack
Key: NIFI-12427
URL: https://issues.apache.org/jira/browse/NIFI-12427
Project: Apache NiFi
Issue Type: Improvement
Reporter: Pierre Villard
Assignee: Pierre Villard
If the ConsumeSlack processor is configured with a list of channel names
(example: #general, #user), the generated flow files would only contain the
channel ID information. It makes sense because the channel name is mutable
while the ID is not. However, it is not frequent that channel names would be
changed so it would be useful to have the channel name retained as a FlowFile
attribute in case it needs to be used downstream in the flow.
(in any case if the channel name is changed on the Slack side, a NiFi user
would likely have to update the configuration of the processor if not using IDs)
Similarly, if the processor is configured with the ID, it would still be useful
to retrieve the name of the channel and have it as a FlowFile attribute.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)