Github user jerryshao commented on the pull request:

    https://github.com/apache/spark/pull/5936#issuecomment-99498733
  
    Hi @koeninger , I just run this example with no additional configuration 
for the first time, I met such exception when the example is started. But again 
I run it, there's no such exception, instead I met some of warning logs like:
    
    ```
    WARN common.AppInfo$: Can't read Kafka version from MANIFEST.MF. Possible 
cause: java.lang.NullPointerException
    ```
    
    I guess this was introduced by the upgrading of Kafka version, since I 
didn't meet this before. So I rewrite this example with new Producer API, and 
this warning log is gone.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to