Use log sampler to reduce the logging in KafkaAlertPublisher

Description

This is based on code review comment - https://github.com/data-integrations/kafka-plugins/pull/25#discussion_r192534033

The log sampler classes are currently in cdap-common module, it would be good to move them to cdap-api module so that they can be used in the plugin.

Release Notes

None

Activity

Show:
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Fix versions

Priority

Created June 4, 2018 at 8:32 PM
Updated December 2, 2020 at 6:09 PM