Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Can Nifi remove a message from a topic/queue after reading it?

Highlighted

Can Nifi remove a message from a topic/queue after reading it?

Explorer

I am using Nifi to connect to IBM MQ. Could Nifi read, and remove a message from a IBM topic/queue?

4 REPLIES 4

Re: Can Nifi remove a message from a topic/queue after reading it?

Highlighted

Re: Can Nifi remove a message from a topic/queue after reading it?

Explorer
@slachterman

Thanks for the quick reply. I read the article and it confirmed that nifi can read from IBM MQ. Can nifi delete the message after read it?

Highlighted

Re: Can Nifi remove a message from a topic/queue after reading it?

Explorer

Hi Andy, I am having the same questions as you. I don't see a reply below at the end of the thread. Were you able to figure out if NIFI remove message from IBM queue?

Highlighted

Re: Can Nifi remove a message from a topic/queue after reading it?

Explorer

@Andy Liang

JMS specification states that acknowledgment mode property determines when the message on JMS server is deleted.

The default is Client ACK mode which deletes the message on the server after NiFi session is committed. Auto ack mode removes the message on the server as soon as its delivered to NiFi, but there can be messages loss if NiFi restarts before NiFi session is committed. The last is DUPS_OK which is similar to CLIENT_ACK, but lazily acks the message, can result in Duplicate message to be delivered to NiFi.

In all these cases the message will be deleted from JMS Queue/Topic.

-

If you found this answer has addressed your question, please take a moment to log in and click the "accept" link on the answer.

Thanks

Kiran.

Don't have an account?
Coming from Hortonworks? Activate your account here