GitHub user Marvalero opened a pull request:
https://github.com/apache/pig/pull/17
PIG-4472: KafkaStorage ready to update
Here is a KafkaStorage function that export data from pig to Kafka in JSON
format. I have used the libreries from http://mvnrepository.com:
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka_2.10</artifactId>
<version>0.8.2.0</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20140107</version>
</dependency>
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Marvalero/pig kafka-storage
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/pig/pull/17.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #17
----
commit 4f43e9be3d3986d8840b5134baf28158ac4bf6f7
Author: Marvalero <[email protected]>
Date: 2015-03-20T18:43:50Z
Adding KafkaStorage.java to Piggybank
commit 980867ec2cc01c5e2506a7ab1cdb8de70163d26d
Author: Marvalero <[email protected]>
Date: 2015-03-20T18:51:12Z
PIG-4472: Changing KafkaStorage.java to Piggybank
----
---
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.
---