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

ASF GitHub Bot commented on KAFKA-6775:
---------------------------------------

jiminhsieh opened a new pull request #4859: KAFKA-6775: Fix the issue of 
without init super class's
URL: https://github.com/apache/kafka/pull/4859
 
 
   Some anonymous classes of `AbstractProcessor` didn't initialize their 
superclass. This will not set up `ProcessorContext context` at 
`AbstractProcessor`.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> AbstractProcessor created in SimpleBenchmark should call super#init
> -------------------------------------------------------------------
>
>                 Key: KAFKA-6775
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6775
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>            Reporter: Ted Yu
>            Assignee: Jimin Hsieh
>            Priority: Minor
>              Labels: easy-fix, newbie
>
> Around line 610:
> {code}
>                 return new AbstractProcessor<Integer, byte[]>() {
>                     @Override
>                     public void init(ProcessorContext context) {
>                     }
> {code}
> super.init should be called above.



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

Reply via email to