Created 11-03-2023 08:58 AM
Hi there,
We've been using Nifi for awhile in our projects, mostly using Kafka and AMQP Client processors for receiving data; but recently a request came up for UDP, specifically DTLS (Datagram transport Layer Security).
Looking at the existing UDP Client Processors, it appears that DTLS is not supported; or at least it's not clear for us how to do it. Is that correct?
Are there any alternatives then? Maybe creating a custom ListenDTLS processor based on the existing ListenUDP? Could that work?
Best regards
Created 11-21-2023 02:20 PM
A quick Google search shows it's possible to build a DTLS server (Listener) with Java which means it might be possible to create a custom Groovy based processor to implement it.
Created 11-28-2023 10:54 AM
Created 11-03-2023 06:06 PM
@mango Welcome to the Cloudera Community!
To help you get the best possible solution, I have tagged our NiFi experts @steven-matison @SAMSAL who may be able to assist you further.
Please keep us updated on your post, and we hope you find a satisfactory solution to your query.
Regards,
Diana Torres,Created 11-13-2023 09:29 AM
@MattWho Do you have any insights here? Thanks!
Regards,
Diana Torres,Created 11-21-2023 02:20 PM
A quick Google search shows it's possible to build a DTLS server (Listener) with Java which means it might be possible to create a custom Groovy based processor to implement it.
Created 11-29-2023 02:48 AM
Thanks @joseomjr and @steven-matison for confirming it. That was our initial conclusion.
We checked the ListenUDP Processor source code, and it looks like we could adapt it, and create a new implementation for the org.apache.nifi.processor.util.listen.dispatcher.ChannelDispatcher interface; replacing the existing implementation (org.apache.nifi.processor.util.listen.dispatcher.DatagramChannelDispatcher).
On the other hand, we are also looking at the possibility to use CoAP instead, and completely rewrite that Processor, but it also depends on our clients that will interact with it.
Many thanks again.
Created 11-28-2023 09:17 AM
@mango Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks.
Regards,
Diana Torres,Created 11-28-2023 10:54 AM
Created 11-29-2023 02:51 AM
@steven-matison can you provide more details on that suggestion regarding DTLS? (python native capabilities in Nifi 2.0).
Created on 11-29-2023 04:39 AM - edited 11-29-2023 04:41 AM
CHeck out this link @joseomjr shared in another post:
https://cwiki.apache.org/confluence/display/NIFI/Release+Notes#ReleaseNotes-Version2.0.0-M1
And here is a great blog from Pierre Villard:
https://medium.com/cloudera-inc/getting-ready-for-apache-nifi-2-0-5a5e6a67f450
Nifi 2.0 brings python native, where jython was very limited library set.