[GitHub] flink issue #5283: [hotfix][doc] Fixed doc typo in DataStream API

2018-01-11 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5283 Merging .. ---

[GitHub] flink issue #5188: [FLINK-8296] [kafka] Rework FlinkKafkaConsumerBaseTest to...

2018-01-11 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5188 Thanks! Merging this ... ---

[GitHub] flink issue #5283: Fixed doc typo in DataStream API

2018-01-11 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5283 Thanks, good catch! @elbaulp can you include the `[hotfix]` and `[doc]` tags to the commit message? All our commit requires proper tags to indicate the issue id (or `hotfix` for typos

[GitHub] flink issue #5188: [FLINK-8296] [kafka] Rework FlinkKafkaConsumerBaseTest to...

2018-01-11 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5188 Thank you for the review @pnowojski! Have addressed your comments. ---

[GitHub] flink issue #3915: [FLINK-6352] Support to use timestamp to set the initial ...

2018-01-11 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/3915 Hi @zjureel, I went ahead to address my own review / concerns with the change in another PR that is based on your current work: #5282. I hope that is okay, and would be great if you would like

[GitHub] flink issue #5282: [FLINK-6352] [kafka] Timestamp-based offset configuration...

2018-01-11 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5282 cc @zjureel ---

[GitHub] flink pull request #5282: [FLINK-6352] [kafka] Timestamp-based offset config...

2018-01-11 Thread tzulitai
GitHub user tzulitai opened a pull request: https://github.com/apache/flink/pull/5282 [FLINK-6352] [kafka] Timestamp-based offset configuration for FlinkKafkaConsumer ## What is the purpose of the change This PR is based on @zjureel's initial efforts on the feature

[GitHub] flink issue #5214: [FLINK-8324] [kafka] Expose another offsets metrics by us...

2018-01-10 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5214 Thanks for the PR @tony810430. The changes LGTM, will merge this a bit later. ---

[GitHub] flink pull request #5182: [FLINK-8162] [kinesis-connector] Emit Kinesis' mil...

2018-01-10 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5182#discussion_r160841457 --- Diff: flink-connectors/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/internals/KinesisDataFetcher.java

[GitHub] flink pull request #5182: [FLINK-8162] [kinesis-connector] Emit Kinesis' mil...

2018-01-10 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5182#discussion_r160841254 --- Diff: flink-connectors/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/internals/KinesisDataFetcher.java

[GitHub] flink issue #5200: [FLINK-8306] [kafka] Introduce KafkaOffsetCommitter inter...

2018-01-10 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5200 As discussed offline: Will re-open a PR for this that avoids introducing a new interface. I agree that it would make more sense to introduce new interface when we actually decide to go

[GitHub] flink pull request #3915: [FLINK-6352] Support to use timestamp to set the i...

2018-01-10 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/3915#discussion_r160677582 --- Diff: flink-connectors/flink-connector-kafka-0.10/src/main/java/org/apache/flink/streaming/connectors/kafka/internal/KafkaConsumerCallBridge010.java

[GitHub] flink pull request #3915: [FLINK-6352] Support to use timestamp to set the i...

2018-01-10 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/3915#discussion_r160676392 --- Diff: flink-connectors/flink-connector-kafka-0.10/src/main/java/org/apache/flink/streaming/connectors/kafka/internal/KafkaConsumerCallBridge010.java

[GitHub] flink issue #5124: [FLINK-8199] [elasticsearch connector] Properly annotate ...

2018-01-10 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5124 Will merge this by the end of the week, given that there are no other objections ... ---

[GitHub] flink issue #5243: [FLINK-8362][elasticsearch] shade all dependencies

2018-01-10 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5243 I can't recall any license issues with shading the ES connectors ... will keep an extra eye and double check on that before merging this. @NicoK thanks a lot for your work on this. I'll

[GitHub] flink pull request #5243: [FLINK-8362][elasticsearch] shade all dependencies

2018-01-10 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5243#discussion_r160617501 --- Diff: docs/dev/connectors/elasticsearch.md --- @@ -440,36 +440,7 @@ For the execution of your Flink program, it is recommended to build a so

[GitHub] flink pull request #5243: [FLINK-8362][elasticsearch] shade all dependencies

2018-01-10 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5243#discussion_r160618041 --- Diff: flink-connectors/flink-connector-elasticsearch/pom.xml --- @@ -93,6 +93,106 @@ under the License. 3

[GitHub] flink issue #4150: [FLINK-6951] Incompatible versions of httpcomponents jars...

2018-01-10 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/4150 On second thought, the change is actually a general improvement to the packaging of the connector, so it would make sense to merge this to `master` and `release-1.4` also. ---

[GitHub] flink issue #5138: [FLINK-8217] [Kinesis connector] Properly annotate APIs o...

2018-01-10 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5138 I was waiting for any objections from others before moving ahead to merge this. If there are no other objections, will merge by the end of the week :) ---

[GitHub] flink issue #5171: [FLINK-8271][Kinesis connector] upgrade deprecated method...

2018-01-10 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5171 +1, LGTM. Thanks @bowenli86. Merging this .. ---

[GitHub] flink pull request #5182: [FLINK-8162] [kinesis-connector] Emit Kinesis' mil...

2018-01-10 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5182#discussion_r160610346 --- Diff: flink-connectors/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/internals/KinesisDataFetcher.java

[GitHub] flink pull request #5182: [FLINK-8162] [kinesis-connector] Emit Kinesis' mil...

2018-01-10 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5182#discussion_r160610484 --- Diff: flink-connectors/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/internals/KinesisDataFetcher.java

[GitHub] flink pull request #5173: [FLINK-8276] [kafka connector] Properly annotate A...

2018-01-09 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5173#discussion_r160608176 --- Diff: flink-connectors/flink-connector-kafka-base/src/main/java/org/apache/flink/streaming/util/serialization/JsonRowSerializationSchema.java

[GitHub] flink pull request #5173: [FLINK-8276] [kafka connector] Properly annotate A...

2018-01-09 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5173#discussion_r160607315 --- Diff: flink-connectors/flink-connector-kafka-0.8/src/main/java/org/apache/flink/streaming/connectors/kafka/FlinkKafkaConsumer081.java --- @@ -27,6

[GitHub] flink pull request #5173: [FLINK-8276] [kafka connector] Properly annotate A...

2018-01-09 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5173#discussion_r160608074 --- Diff: flink-connectors/flink-connector-kafka-base/src/main/java/org/apache/flink/streaming/util/serialization/JsonRowDeserializationSchema.java

[GitHub] flink pull request #5173: [FLINK-8276] [kafka connector] Properly annotate A...

2018-01-09 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5173#discussion_r160608041 --- Diff: flink-connectors/flink-connector-kafka-base/src/main/java/org/apache/flink/streaming/util/serialization/JSONDeserializationSchema.java

[GitHub] flink pull request #5173: [FLINK-8276] [kafka connector] Properly annotate A...

2018-01-09 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5173#discussion_r160607865 --- Diff: flink-connectors/flink-connector-kafka-base/src/main/java/org/apache/flink/streaming/connectors/kafka/partitioner/FlinkKafkaPartitioner.java

[GitHub] flink pull request #5173: [FLINK-8276] [kafka connector] Properly annotate A...

2018-01-09 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5173#discussion_r160607814 --- Diff: flink-connectors/flink-connector-kafka-base/src/main/java/org/apache/flink/streaming/connectors/kafka/partitioner/FlinkFixedPartitioner.java

[GitHub] flink pull request #5173: [FLINK-8276] [kafka connector] Properly annotate A...

2018-01-09 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5173#discussion_r160607372 --- Diff: flink-connectors/flink-connector-kafka-0.8/src/main/java/org/apache/flink/streaming/connectors/kafka/FlinkKafkaProducer.java --- @@ -31,6 +32,7

[GitHub] flink pull request #5173: [FLINK-8276] [kafka connector] Properly annotate A...

2018-01-09 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5173#discussion_r160608269 --- Diff: flink-connectors/flink-connector-kafka-base/src/main/java/org/apache/flink/streaming/util/serialization/KeyedSerializationSchema.java

[GitHub] flink pull request #5173: [FLINK-8276] [kafka connector] Properly annotate A...

2018-01-09 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5173#discussion_r160607359 --- Diff: flink-connectors/flink-connector-kafka-0.8/src/main/java/org/apache/flink/streaming/connectors/kafka/FlinkKafkaConsumer082.java --- @@ -27,6

[GitHub] flink pull request #5173: [FLINK-8276] [kafka connector] Properly annotate A...

2018-01-09 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5173#discussion_r160608223 --- Diff: flink-connectors/flink-connector-kafka-base/src/main/java/org/apache/flink/streaming/util/serialization/KeyedDeserializationSchema.java

[GitHub] flink pull request #5173: [FLINK-8276] [kafka connector] Properly annotate A...

2018-01-09 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5173#discussion_r160608063 --- Diff: flink-connectors/flink-connector-kafka-base/src/main/java/org/apache/flink/streaming/util/serialization/JSONKeyValueDeserializationSchema.java

[GitHub] flink issue #5214: [FLINK-8324] [kafka] Expose another offsets metrics by us...

2018-01-09 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5214 Good idea. I think we should also update the metrics doc to educate this addition. ---

[GitHub] flink issue #5200: [FLINK-8306] [kafka] Introduce KafkaOffsetCommitter inter...

2018-01-09 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5200 Regarding the race condition you mentioned: hmm, I can't seem to exactly nail down the "and only first `successfulCommits.inc()` can be omitted because of that" case you mentioned,

[GitHub] flink issue #5200: [FLINK-8306] [kafka] Introduce KafkaOffsetCommitter inter...

2018-01-09 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5200 @pnowojski thanks a lot for your insightful review! regarding the choice of composition or inheritance: actually, in the end I think we should be leaning towards neither of both, and let

[GitHub] flink pull request #5200: [FLINK-8306] [kafka] Introduce KafkaOffsetCommitte...

2018-01-09 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5200#discussion_r160599433 --- Diff: flink-connectors/flink-connector-kafka-base/src/main/java/org/apache/flink/streaming/connectors/kafka/internals/AbstractFetcher.java

[GitHub] flink pull request #5200: [FLINK-8306] [kafka] Introduce KafkaOffsetCommitte...

2018-01-09 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5200#discussion_r160598939 --- Diff: flink-connectors/flink-connector-kafka-base/src/test/java/org/apache/flink/streaming/connectors/kafka/FlinkKafkaConsumerBaseTest.java

[GitHub] flink pull request #5200: [FLINK-8306] [kafka] Introduce KafkaOffsetCommitte...

2018-01-09 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5200#discussion_r16059 --- Diff: flink-connectors/flink-connector-kafka-base/src/main/java/org/apache/flink/streaming/connectors/kafka/FlinkKafkaConsumerBase.java --- @@ -559,6

[GitHub] flink pull request #5200: [FLINK-8306] [kafka] Introduce KafkaOffsetCommitte...

2018-01-09 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5200#discussion_r160598772 --- Diff: flink-connectors/flink-connector-kafka-base/src/main/java/org/apache/flink/streaming/connectors/kafka/internals/AbstractFetcher.java

[GitHub] flink pull request #5269: [FLINK-6004] [kinesis] Allow FlinkKinesisConsumer ...

2018-01-09 Thread tzulitai
GitHub user tzulitai opened a pull request: https://github.com/apache/flink/pull/5269 [FLINK-6004] [kinesis] Allow FlinkKinesisConsumer to skip non-deserializable records ## What is the purpose of the change This PR is based on #5268, which includes fixes to harden Kinesis

[GitHub] flink pull request #5268: [FLINK-8398] [kinesis, tests] Harden KinesisDataFe...

2018-01-09 Thread tzulitai
GitHub user tzulitai opened a pull request: https://github.com/apache/flink/pull/5268 [FLINK-8398] [kinesis, tests] Harden KinesisDataFetcherTest unit tests ## What is the purpose of the change Prior to this PR, many of the `KinesisDataFetcherTest` unit tests relied

[GitHub] flink issue #4150: [FLINK-6951] Incompatible versions of httpcomponents jars...

2018-01-09 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/4150 Merging to `release-1.3` .. ---

[GitHub] flink issue #4150: [FLINK-6951] Incompatible versions of httpcomponents jars...

2018-01-09 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/4150 @casidiablo thanks for the info! I'll merge this for `release-1.3` then, and will keep an extra eye on whether the problem still occurs for 1.4 / 1.5. ---

[GitHub] flink issue #4150: [FLINK-6951] Incompatible versions of httpcomponents jars...

2018-01-09 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/4150 @casidiablo did you mean that without applying this PR's patch, the current master worked for you? Or you had to apply this patch in order for it to work? ---

[GitHub] flink issue #5193: [FLINK-8268][tests] Improve tests stability

2018-01-05 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5193 Merging to `master` .. ---

[GitHub] flink issue #5179: [FLINK-8260/8287] [kafka] Bunch of improvements to Kafka ...

2018-01-05 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5179 Thanks a lot for the review. Merging this to `master` and `release-1.4` .. ---

[GitHub] flink issue #5201: [FLINK-8283] [kafka] Stabalize FlinkKafkaConsumerBaseTest...

2018-01-05 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5201 Thanks for the review @pnowojski. I'm merging the last commit of this PR to `master` and `release-1.4` .. ---

[GitHub] flink pull request #5193: [FLINK-8268][tests] Improve tests stability

2018-01-04 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5193#discussion_r159724744 --- Diff: flink-runtime/src/test/java/org/apache/flink/runtime/operators/testutils/MockEnvironment.java --- @@ -383,7 +383,10 @@ public void

[GitHub] flink pull request #5193: [FLINK-8268][tests] Improve tests stability

2018-01-04 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5193#discussion_r159723523 --- Diff: flink-streaming-java/src/test/java/org/apache/flink/streaming/util/SourceFunctionUtil.java --- @@ -42,22 +41,32 @@ public class

[GitHub] flink pull request #5193: [FLINK-8268][tests] Improve tests stability

2018-01-04 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5193#discussion_r159722857 --- Diff: flink-streaming-java/src/test/java/org/apache/flink/streaming/util/AbstractStreamOperatorTestHarness.java --- @@ -492,6 +503,10 @@ public void

[GitHub] flink issue #5201: [FLINK-8283] [kafka] Stabalize FlinkKafkaConsumerBaseTest...

2017-12-22 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5201 The following 10 local Travis runs suggests that the stalling tests on the `connectors` build no longer remains after this change: - https://travis-ci.org/tzulitai/flink/builds/319936358

[GitHub] flink pull request #5193: [FLINK-8268][tests] Improve tests stability

2017-12-21 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5193#discussion_r158401540 --- Diff: flink-streaming-java/src/test/java/org/apache/flink/streaming/util/SourceFunctionUtil.java --- @@ -42,22 +41,32 @@ public class

[GitHub] flink pull request #5193: [FLINK-8268][tests] Improve tests stability

2017-12-21 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5193#discussion_r158398663 --- Diff: flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/operators/windowing/WindowOperatorTest.java --- @@ -823,39 +839,44

[GitHub] flink pull request #5193: [FLINK-8268][tests] Improve tests stability

2017-12-21 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5193#discussion_r158400189 --- Diff: flink-streaming-java/src/test/java/org/apache/flink/streaming/util/AbstractStreamOperatorTestHarness.java --- @@ -492,6 +503,10 @@ public void

[GitHub] flink pull request #5193: [FLINK-8268][tests] Improve tests stability

2017-12-21 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5193#discussion_r158397131 --- Diff: flink-runtime/src/test/java/org/apache/flink/runtime/operators/testutils/TaskTestBase.java --- @@ -145,19 +145,7 @@ public MemoryManager

[GitHub] flink pull request #5193: [FLINK-8268][tests] Improve tests stability

2017-12-21 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5193#discussion_r158401883 --- Diff: flink-streaming-java/src/test/java/org/apache/flink/streaming/api/functions/sink/TwoPhaseCommitSinkFunctionTest.java --- @@ -179,9 +179,6

[GitHub] flink pull request #5193: [FLINK-8268][tests] Improve tests stability

2017-12-21 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5193#discussion_r158400738 --- Diff: flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/operators/windowing/WindowOperatorTest.java --- @@ -98,7 +99,13

[GitHub] flink pull request #5193: [FLINK-8268][tests] Improve tests stability

2017-12-21 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5193#discussion_r158399966 --- Diff: flink-streaming-java/src/test/java/org/apache/flink/streaming/util/AbstractStreamOperatorTestHarness.java --- @@ -492,6 +503,10 @@ public void

[GitHub] flink pull request #5193: [FLINK-8268][tests] Improve tests stability

2017-12-21 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5193#discussion_r158395271 --- Diff: flink-streaming-java/src/test/java/org/apache/flink/streaming/api/functions/sink/ContentDump.java --- @@ -0,0 +1,134 @@ +/* + * Licensed

[GitHub] flink pull request #5193: [FLINK-8268][tests] Improve tests stability

2017-12-21 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5193#discussion_r158394094 --- Diff: flink-streaming-java/src/test/java/org/apache/flink/streaming/api/functions/sink/TwoPhaseCommitSinkFunctionTest.java --- @@ -277,88 +263,67

[GitHub] flink pull request #5193: [FLINK-8268][tests] Improve tests stability

2017-12-21 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5193#discussion_r158394946 --- Diff: flink-streaming-java/src/test/java/org/apache/flink/streaming/api/functions/sink/ContentDump.java --- @@ -0,0 +1,134 @@ +/* + * Licensed

[GitHub] flink pull request #5193: [FLINK-8268][tests] Improve tests stability

2017-12-21 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5193#discussion_r158391433 --- Diff: flink-streaming-java/src/test/java/org/apache/flink/streaming/api/functions/sink/ContentDump.java --- @@ -0,0 +1,134 @@ +/* + * Licensed

[GitHub] flink pull request #5193: [FLINK-8268][tests] Improve tests stability

2017-12-21 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5193#discussion_r158392202 --- Diff: flink-streaming-java/src/test/java/org/apache/flink/streaming/api/functions/sink/ContentDump.java --- @@ -0,0 +1,134 @@ +/* + * Licensed

[GitHub] flink pull request #5193: [FLINK-8268][tests] Improve tests stability

2017-12-21 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5193#discussion_r158394743 --- Diff: flink-streaming-java/src/test/java/org/apache/flink/streaming/api/functions/sink/ContentDump.java --- @@ -0,0 +1,134 @@ +/* + * Licensed

[GitHub] flink pull request #5201: [FLINK-8283] [kafka] Stabalize FlinkKafkaConsumerB...

2017-12-21 Thread tzulitai
GitHub user tzulitai opened a pull request: https://github.com/apache/flink/pull/5201 [FLINK-8283] [kafka] Stabalize FlinkKafkaConsumerBaseTest::testScaleUp() ## What is the purpose of the change This PR sits upon other `FlinkKafkaConsumerBaseTest` changes from #5188

[GitHub] flink pull request #5200: [FLINK-8306] [kafka] Introduce KafkaOffsetCommitte...

2017-12-21 Thread tzulitai
GitHub user tzulitai opened a pull request: https://github.com/apache/flink/pull/5200 [FLINK-8306] [kafka] Introduce KafkaOffsetCommitter interface ## What is the purpose of the change This PR is built upon the reworked `FlinkKafkaConsumerBaseTest` in #5188. Prior

[GitHub] flink pull request #5189: [FLINK-8283] [kafka] Introduce KafkaOffsetCommitte...

2017-12-21 Thread tzulitai
Github user tzulitai closed the pull request at: https://github.com/apache/flink/pull/5189 ---

[GitHub] flink issue #5189: [FLINK-8283] [kafka] Introduce KafkaOffsetCommitter inter...

2017-12-21 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5189 It seems like that the mock issue on `AbstractFetcher::commitInternalOffsetsToKafka` is not the root cause of the test instabilities mentioned in FLINK-8283. It is rather just a separate issue

[GitHub] flink pull request #5171: [FLINK-8271][Kinesis connector] upgrade deprecated...

2017-12-20 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5171#discussion_r158166090 --- Diff: flink-connectors/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/util/AWSUtil.java --- @@ -30,37 +30,44

[GitHub] flink pull request #5171: [FLINK-8271][Kinesis connector] upgrade deprecated...

2017-12-20 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5171#discussion_r158164454 --- Diff: flink-connectors/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/util/AWSUtil.java --- @@ -30,37 +30,44

[GitHub] flink pull request #5171: [FLINK-8271][Kinesis connector] upgrade deprecated...

2017-12-20 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5171#discussion_r158163793 --- Diff: flink-connectors/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/util/AWSUtil.java --- @@ -30,37 +30,44

[GitHub] flink pull request #5182: [FLINK-8162] [kinesis-connector] Emit Kinesis' mil...

2017-12-20 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5182#discussion_r158160866 --- Diff: flink-connectors/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/internals/ShardConsumer.java --- @@ -96,6

[GitHub] flink pull request #5182: [FLINK-8162] [kinesis-connector] Emit Kinesis' mil...

2017-12-20 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5182#discussion_r158159640 --- Diff: docs/monitoring/metrics.md --- @@ -1293,6 +1293,29 @@ Thus, in order to infer the metric identifier: + Kinesis

[GitHub] flink pull request #5182: [FLINK-8162] [kinesis-connector] Emit Kinesis' mil...

2017-12-20 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5182#discussion_r158161267 --- Diff: flink-connectors/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/internals/ShardConsumer.java --- @@ -96,6

[GitHub] flink pull request #5182: [FLINK-8162] [kinesis-connector] Emit Kinesis' mil...

2017-12-20 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5182#discussion_r158161564 --- Diff: flink-connectors/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/internals/ShardConsumer.java --- @@ -96,6

[GitHub] flink issue #5191: Release 1.4

2017-12-20 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5191 This seems like a mistakenly opened PR. Can you please close this, @czhxmz? Thanks! ---

[GitHub] flink issue #5187: Merge pull request #1 from apache/master

2017-12-20 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5187 This seems like a mistake. @laolang113 can you please close this PR? Thanks! ---

[GitHub] flink issue #5195: [hotfix] [build] Always include Kafka 0.11 connector

2017-12-20 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5195 +1, LGTM ---

[GitHub] flink issue #5171: [FLINK-8271][Kinesis connector] upgrade from deprecated c...

2017-12-20 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5171 Ah, I see. The `AmazonKinesisClient` class is not deprecated, but the constructors are. Alright, thanks for the clarification. I'll find some time to revisit this PR tomorrow. ---

[GitHub] flink issue #5181: [FLINK-8283] [kafka] Fix mock verification on final metho...

2017-12-20 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5181 Also FYI: The stalling tests seems to have been fixed (indirectly?) by fixing the mocking issue. No failures have occurred anymore over 10 test local Travis runs. ---

[GitHub] flink pull request #5181: [FLINK-8283] [kafka] Fix mock verification on fina...

2017-12-20 Thread tzulitai
Github user tzulitai closed the pull request at: https://github.com/apache/flink/pull/5181 ---

[GitHub] flink issue #5181: [FLINK-8283] [kafka] Fix mock verification on final metho...

2017-12-20 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5181 Making the `AbstractFetcher::commitInternalOffsetsToKafka` non-final just for the sake of testing using mocks really is not ideal. I've opened a new PR #5189 that properly solves

[GitHub] flink pull request #5189: [FLINK-8283] [kafka] Introduce KafkaOffsetCommitte...

2017-12-20 Thread tzulitai
GitHub user tzulitai opened a pull request: https://github.com/apache/flink/pull/5189 [FLINK-8283] [kafka] Introduce KafkaOffsetCommitter interface ## What is the purpose of the change This PR is built upon the reworked `FlinkKafkaConsumerBaseTest` in #5188. The broken

[GitHub] flink pull request #5188: [FLINK-8296] [kafka] Rework FlinkKafkaConsumerBase...

2017-12-20 Thread tzulitai
GitHub user tzulitai opened a pull request: https://github.com/apache/flink/pull/5188 [FLINK-8296] [kafka] Rework FlinkKafkaConsumerBaseTest to not rely on Java reflection ## What is the purpose of the change Prior to this PR, reflection was mainly used to inject mocks

[GitHub] flink issue #5181: [FLINK-8283] [kafka] Fix mock verification on final metho...

2017-12-19 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5181 I'm not yet certain this fix is the root cause of the stalling tests mentioned in https://issues.apache.org/jira/browse/FLINK-8283. It's something I stumbled across while investigating the failing

[GitHub] flink pull request #5181: [FLINK-8283] [kafka] Fix mock verification on fina...

2017-12-19 Thread tzulitai
GitHub user tzulitai opened a pull request: https://github.com/apache/flink/pull/5181 [FLINK-8283] [kafka] Fix mock verification on final method in FlinkKafkaConsumerBaseTest ## What is the purpose of the change Prior to this PR, `FlinkKafkaConsumerBaseTest

[GitHub] flink issue #5178: [hotfix] Fix typo in TestableKinesisDataFetcher

2017-12-18 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5178 +1, thanks for the fix. Merging this ... ---

[GitHub] flink pull request #5179: [FLINK-8260/8287] [kafka] Bunch of improvements to...

2017-12-18 Thread tzulitai
GitHub user tzulitai opened a pull request: https://github.com/apache/flink/pull/5179 [FLINK-8260/8287] [kafka] Bunch of improvements to Kafka producer Javadocs / document ## What is the purpose of the change This PR collects several improvements to the `FlinkKafkaProducer

[GitHub] flink issue #5171: [FLINK-8271][Kinesis connector] upgrade from deprecated c...

2017-12-18 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5171 Without the SDK upgrade, the API actually isn't yet deprecated yet, right? It is only deprecated in a newer SDK version. If so, I would prefer to not merge this until we actually try

[GitHub] flink issue #5121: [FLINK-8116] Stale comments referring to Checkpointed int...

2017-12-18 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5121 Thanks @ankitiitb1069 @ggevay for the work and review. The changes LGTM, minus my comment. I'll address my comments while merging this ... ---

[GitHub] flink pull request #5121: [FLINK-8116] Stale comments referring to Checkpoin...

2017-12-18 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5121#discussion_r157606329 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/source/SourceFunction.java --- @@ -61,9 +61,9

[GitHub] flink pull request #5121: [FLINK-8116] Stale comments referring to Checkpoin...

2017-12-18 Thread tzulitai
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5121#discussion_r157606375 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/source/SourceFunction.java --- @@ -61,9 +61,9

[GitHub] flink issue #5172: [FLINK-8275] [Security] fix keytab local path in YarnTask...

2017-12-18 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5172 @suez1224 keep in mind, that contribution PRs should initially have one commit with the commit message appropriately set (the title of the PR would be a good commit message for your case). ---

[GitHub] flink issue #5172: [FLINK-8275] [Security] fix keytab local path in YarnTask...

2017-12-18 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5172 cc @EronWright, gentle ping since you mentioned to include you in the review :) ---

[GitHub] flink issue #5171: [FLINK-8271][Kinesis connector] upgrade from deprecated c...

2017-12-18 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5171 @bowenli86 I mean't the actual commit messages, not the PR title / description. The actual commit messages should follow our standard commit message formats. ---

[GitHub] flink issue #5172: [FLINK-8275] [Security] fix keytab local path in YarnTask...

2017-12-18 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5172 Thanks for the PR @suez1224. There is a duplicate JIRA for this issue: https://issues.apache.org/jira/browse/FLINK-8270. Can you take a look at the suggestions explained in that JIRA

[GitHub] flink issue #5135: [hotfix] [doc] Fix typo in TaskManager and EnvironmentInf...

2017-12-17 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5135 Thanks! LGTM. Merging this ... ---

[GitHub] flink issue #5124: [FLINK-8199] [elasticsearch connector] Properly annotate ...

2017-12-17 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5124 The PR has correct identification of what should be public and what is internal, IMO. However, as I also explained in #5138, I think we should not go with the `@Public` annotation now

[GitHub] flink issue #5130: [FLINK-8216] [Kinesis connector] Unify test utils in flin...

2017-12-17 Thread tzulitai
Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/5130 Merging this .. ---

<    1   2   3   4   5   6   7   8   9   10   >