[jira] [Created] (KAFKA-7187) offsetsForTimes in MockConsumer implementation

2018-07-20 Thread Jing Chen (JIRA)
Jing Chen created KAFKA-7187:


 Summary: offsetsForTimes in MockConsumer implementation
 Key: KAFKA-7187
 URL: https://issues.apache.org/jira/browse/KAFKA-7187
 Project: Kafka
  Issue Type: Improvement
  Components: clients
Reporter: Jing Chen


The implementation for offsetsForTimes in MockConsumer is missing, it simply 
throws UnsupportedOperationException, can anyone help to provide the 
implementation of the method?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KAFKA-6755) MaskField SMT should optionally take a literal value to use instead of using null

2018-05-14 Thread Jing Chen (JIRA)

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

Jing Chen commented on KAFKA-6755:
--

hi Randall, I would love to take a stab on this improvement, could you please 
add me to the dev list then I will pick up this ticket. thanks

> MaskField SMT should optionally take a literal value to use instead of using 
> null
> -
>
> Key: KAFKA-6755
> URL: https://issues.apache.org/jira/browse/KAFKA-6755
> Project: Kafka
>  Issue Type: Improvement
>  Components: KafkaConnect
>Affects Versions: 0.11.0.0
>Reporter: Randall Hauch
>Priority: Major
>  Labels: needs-kip, newbie
>   Original Estimate: 8h
>  Remaining Estimate: 8h
>
> The existing {{org.apache.kafka.connect.transforms.MaskField}} SMT always 
> uses the null value for the type of field. It'd be nice to *optionally* be 
> able to specify a literal value for the type, where the SMT would convert the 
> literal string value in the configuration to the desired type (using the new 
> {{Values}} methods).
> Use cases: mask out the IP address, or SSN, or other personally identifiable 
> information (PII).
> Since this changes the API, and thus will require a KIP.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)