QuestionQ53

VerifiedDeveloping Mule Applications

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

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

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

Question Image

Explanation

An On Table Row listener uses the watermark column to return only rows whose watermark value is greater than the value from the prior poll. The initial poll processes the four existing rows and establishes 90009 as the highest ZIPCODE watermark. The later row with ZIPCODE=90006 is below that value, so it is not processed.

Learn more

Community Discussion

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