GitHub user maochf opened a pull request:
https://github.com/apache/twill/pull/16
[TWILL-199] Handle offset error and return next offset in
KafkaConsumer.MessageCallback
https://issues.apache.org/jira/browse/TWILL-199
You can merge this pull request into a Git repository by
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/16#discussion_r89042093
--- Diff:
twill-core/src/main/java/org/apache/twill/kafka/client/KafkaOffsetProvider.java
---
@@ -0,0 +1,36 @@
+/*
+ * Licensed to the Apache Software
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/16#discussion_r89042335
--- Diff:
twill-core/src/main/java/org/apache/twill/kafka/client/KafkaOffsetProvider.java
---
@@ -0,0 +1,36 @@
+/*
+ * Licensed to the Apache Software
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/16#discussion_r89042464
--- Diff:
twill-core/src/main/java/org/apache/twill/kafka/client/KafkaOffsetProvider.java
---
@@ -0,0 +1,36 @@
+/*
+ * Licensed to the Apache Software
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/16#discussion_r89195623
--- Diff:
twill-core/src/main/java/org/apache/twill/kafka/client/KafkaOffsetProvider.java
---
@@ -0,0 +1,36 @@
+/*
+ * Licensed to the Apache Software
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/16#discussion_r94521832
--- Diff:
twill-core/src/main/java/org/apache/twill/internal/kafka/client/SimpleKafkaConsumer.java
---
@@ -273,17 +274,19 @@ private MessageCallback
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/16#discussion_r94522256
--- Diff:
twill-core/src/main/java/org/apache/twill/internal/kafka/client/SimpleKafkaConsumer.java
---
@@ -68,7 +69,7 @@
/**
* A {@link
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/16#discussion_r94522513
--- Diff:
twill-core/src/main/java/org/apache/twill/internal/kafka/client/SimpleKafkaConsumer.java
---
@@ -273,17 +274,19 @@ private MessageCallback
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/16#discussion_r94555234
--- Diff:
twill-core/src/main/java/org/apache/twill/internal/kafka/client/SimpleKafkaConsumer.java
---
@@ -68,7 +69,7 @@
/**
* A {@link
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/16#discussion_r94556442
--- Diff:
twill-core/src/main/java/org/apache/twill/internal/kafka/client/SimpleKafkaConsumer.java
---
@@ -273,17 +274,19 @@ private MessageCallback
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/16#discussion_r94558457
--- Diff:
twill-core/src/main/java/org/apache/twill/internal/kafka/client/SimpleKafkaConsumer.java
---
@@ -273,17 +274,19 @@ private MessageCallback
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/16#discussion_r94558645
--- Diff:
twill-core/src/main/java/org/apache/twill/internal/kafka/client/SimpleKafkaConsumer.java
---
@@ -68,7 +69,7 @@
/**
* A {@link
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/16#discussion_r94559673
--- Diff:
twill-core/src/test/java/org/apache/twill/kafka/client/KafkaTest.java ---
@@ -170,11 +174,128 @@ public void testKafkaClient() throws Exception
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/16#discussion_r94561460
--- Diff:
twill-core/src/main/java/org/apache/twill/internal/kafka/client/SimpleKafkaConsumer.java
---
@@ -273,17 +274,19 @@ private MessageCallback
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/16#discussion_r94658662
--- Diff:
twill-api/src/main/java/org/apache/twill/api/ServiceAnnouncer.java ---
@@ -32,7 +32,7 @@
Cancellable announce(String serviceName, int port
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/16#discussion_r94861374
--- Diff:
twill-core/src/main/java/org/apache/twill/kafka/client/KafkaConsumer.java ---
@@ -33,14 +33,16 @@
/**
* Invoked when new
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/16#discussion_r94874821
--- Diff:
twill-core/src/main/java/org/apache/twill/kafka/client/KafkaConsumer.java ---
@@ -33,14 +33,16 @@
/**
* Invoked when new
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/16#discussion_r94912977
--- Diff:
twill-core/src/main/java/org/apache/twill/kafka/client/KafkaConsumer.java ---
@@ -33,14 +33,16 @@
/**
* Invoked when new
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/16#discussion_r94913855
--- Diff:
twill-core/src/main/java/org/apache/twill/kafka/client/KafkaConsumer.java ---
@@ -33,14 +33,16 @@
/**
* Invoked when new
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/16#discussion_r94914331
--- Diff:
twill-core/src/main/java/org/apache/twill/kafka/client/KafkaConsumer.java ---
@@ -33,14 +33,16 @@
/**
* Invoked when new
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/16#discussion_r94915705
--- Diff:
twill-core/src/main/java/org/apache/twill/kafka/client/KafkaConsumer.java ---
@@ -33,14 +33,16 @@
/**
* Invoked when new
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/16#discussion_r9505
--- Diff:
twill-core/src/main/java/org/apache/twill/kafka/client/KafkaConsumer.java ---
@@ -33,14 +33,16 @@
/**
* Invoked when new
Github user maochf commented on the issue:
https://github.com/apache/twill/pull/16
Thank you! Just squashed.
---
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
GitHub user maochf opened a pull request:
https://github.com/apache/twill/pull/58
[TWILL-240] EventHandler Improvement
https://issues.apache.org/jira/browse/TWILL-240
Add started, containerLaunched, containerStopped, completed, killed,
aborted to EventHandler
You can
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/58#discussion_r129647384
--- Diff:
twill-yarn/src/main/java/org/apache/twill/internal/appmaster/ApplicationMasterService.java
---
@@ -222,6 +226,7 @@ protected void doStart() throws
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/58#discussion_r130491020
--- Diff: twill-api/src/main/java/org/apache/twill/api/EventHandler.java ---
@@ -124,6 +124,74 @@ public void initialize(EventHandlerContext context
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/58#discussion_r131225251
--- Diff:
twill-yarn/src/test/java/org/apache/twill/yarn/ProvisionTimeoutTestRun.java ---
@@ -79,12 +83,22 @@ public void initialize(EventHandlerContext
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/58#discussion_r131234842
--- Diff: twill-api/src/main/java/org/apache/twill/api/EventHandler.java ---
@@ -124,6 +124,75 @@ public void initialize(EventHandlerContext context
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/58#discussion_r132048851
--- Diff:
twill-yarn/src/main/java/org/apache/twill/internal/appmaster/RunningContainers.java
---
@@ -267,6 +280,14 @@ void stopByIdAndWait(String
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/58#discussion_r132298585
--- Diff:
twill-yarn/src/main/java/org/apache/twill/internal/appmaster/ApplicationMasterService.java
---
@@ -193,7 +200,91 @@ private EventHandler
Github user maochf commented on a diff in the pull request:
https://github.com/apache/twill/pull/58#discussion_r132322804
--- Diff:
twill-yarn/src/main/java/org/apache/twill/internal/appmaster/ApplicationMasterService.java
---
@@ -239,14 +359,8 @@ protected void doStop() throws
Github user maochf commented on the issue:
https://github.com/apache/twill/pull/58
squashed
---
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
32 matches
Mail list logo