QuestionQ47

VerifiedManage event flow, handle errors, and process batch records

Refer to the exhibits.

A database Address table contains a ZIPCODE column and an increasing ID column. The Address table currently contains four (4) records. The On Table Row Database listener is configured with its watermark set to the Address table's ZIPCODE column, and the Mule application is run in Anypoint Studio for the first time. The On Table Row Database listener polls the Address table.

A new row is added to the database with ID=5 and ZIPCODE=90006, and the On Table Row Database listener then polls the database again.

After the next execution of the On Table Row Database listener polling, which database rows have been processed by the Mule flow since the Mule application started?

Question Image

Explanation

A watermark advances to the greatest value processed in its configured column. The initial poll processes the four existing rows and advances the ZIPCODE watermark to 90009. Because the added row has ZIPCODE=90006, it is below the saved watermark and is not processed on the following poll.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!