[ 
https://issues.apache.org/jira/browse/KAFKA-3472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15214208#comment-15214208
 ] 

Grant Henke commented on KAFKA-3472:
------------------------------------

I think the goal of sampling topic data could be done without adding another 
parameter to Mirrormaker, and without depending on having many partitions. I 
linked KAFKA-2670 which talks about adding a sampling rate to Mirrormaker. The 
discussion mentions using an interceptor to implement custom sampling. Would 
that work for your use case?

> Allow MirrorMaker to copy selected partitions and choose target topic name
> --------------------------------------------------------------------------
>
>                 Key: KAFKA-3472
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3472
>             Project: Kafka
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: 0.9.0.1
>            Reporter: Hang Sun
>            Priority: Minor
>              Labels: mirror-maker
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> It would be nice if MirrorMaker can be used to copy only a few partitions 
> instead of all to a different topic.  My use case is to sample a small 
> portion of production traffic in the pre-production environment for testing.  
> The pre-production environment is usually smaller and cannot handle the full 
> load from production.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to