[
https://issues.apache.org/jira/browse/KAFKA-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15153180#comment-15153180
]
Joel Koshy commented on KAFKA-2670:
-----------------------------------
It should be possible to accomplish this with a custom [consumer
interceptor|https://cwiki.apache.org/confluence/display/KAFKA/KIP-42%3A+Add+Producer+and+Consumer+Interceptors]
- i.e., probably no need for an explicit change in mirror maker.
> add sampling rate to MirrorMaker
> --------------------------------
>
> Key: KAFKA-2670
> URL: https://issues.apache.org/jira/browse/KAFKA-2670
> Project: Kafka
> Issue Type: Wish
> Components: tools
> Reporter: Christian Tramnitz
> Priority: Minor
>
> MirrorMaker could be used to copy data to different Kafka instances in
> different environments (i.e. from production to development or test), but
> often these are not at the same scale as production. A sampling rate could be
> introduced to MirrorMaker to define a ratio of data to copied (per topic) to
> downstream instances. Of course this should be 1:1 (or 100%) per default.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)