Skip to content

Conversation

@harshchiki
Copy link

  • Improvement aims at adding the queue item creation time, essentially when the the item was creation for the first time, and enqueue into the queue.
  • The purpose to get this detail is to be able to capture metrics at the consumer level. The consumers could have an event handler, which can capture the duration which turns out to be (NOW MINUS queue item creation time thrown in the distribution event package); NOW being the current time in the event handler (consumer).

@harshchiki
Copy link
Author

@harshchiki
Copy link
Author

harshchiki commented May 27, 2020

This PR is failing on the missing DistributionEventProperties.DISTRIBUTION_ENQUEUE_TIMESTAMP(compilation error), which is proposed in apache/sling-org-apache-sling-distribution-api#7 - IIUC, once that is merged, this should pass fine.

Request the owners of the repo to kindly review.

cc: @tmaret @cschneider

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants