Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

Increase KafkaIO version to 0.2.0 #504

Merged
merged 5 commits into from
Jan 18, 2017

Conversation

rangadi
Copy link
Contributor

@rangadi rangadi commented Dec 14, 2016

Recent PR #491 changes how KafkaIO splits. This makes it incompatible
with Dataflow update across these two versions.

Recent PR GoogleCloudPlatform#491 changes how KafkaIO splits. This makes it incompatible
with Dataflow update across these two versions.
@rangadi
Copy link
Contributor Author

rangadi commented Dec 15, 2016

+R: @dhalperi
This bumps version number. I was sure where I should include the release notes. We don't yet have a README for kafka directory.

@dhalperi
Copy link
Contributor

Suggest creating a README.md

Copy link
Contributor

@dhalperi dhalperi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add README.md per our discussion.

@rangadi
Copy link
Contributor Author

rangadi commented Jan 9, 2017

Added README.md.
+R: dhalperi

```java
PCollection<KV<Long, String>> kafkaRecords =
pipeline
.applY(KafkaIO.read()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lowercase y

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

.withBootstrapServers("broker_1:9092,broker_2:9092")
.withTopic("results")
.withKeyCoder(BigEndianLongCoder.of())
.withValueCoder(StringUtf8Coder.of())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing last line?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

# KafkaIO : Dataflow Unbounded Source and Sink for Kafka Topics

KafkaIO provides unbounded sources and sinks for [Kafka](https://www.firebase.com/)
topics. Kafka version 0.9 and above are supported.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this correct, or are code changes needed to support Kafka 0.10 or 0.11?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works with 0.10, but haven't tested with 0.11 (kafka master?). We can remove the line or mention specific versions tested.

@rangadi
Copy link
Contributor Author

rangadi commented Jan 18, 2017

+R: @dhalperi . I had addressed the comments immediately. I am not sure how to mark 'Changes Requested' as 'Done'.

Copy link
Contributor Author

@rangadi rangadi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@dhalperi dhalperi merged commit 2e57ab1 into GoogleCloudPlatform:master Jan 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants