marklogic / nifi

Mirror of Apache NiFi to support ongoing MarkLogic integration efforts
https://marklogic.github.io/nifi/
Apache License 2.0
12 stars 23 forks source link

MLE-14420 Added support for restarting batcher in PutMarkLogic #220

Closed rjrudin closed 3 months ago

rjrudin commented 3 months ago

Was not able to find a way to write an automated test for this without causing the processor itself to be restarted. So tested via the following manual process:

  1. Load up the example flows per the CONTRIBUTING file.
  2. Start the "Put Text" flow (after first setting the "Restart" property to "true").
  3. Tail the NiFi log file to see "success" messages.
  4. Stop MarkLogic via Docker.
  5. See the "failure" messages being logged.
  6. Start MarkLogic via Docker.
  7. See PutMarkLogic able to restart its WriteBatcher successfully and start logging "success" messages again.