You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: kafka-connect-http/src/main/java/com/github/castorm/kafka/connect/http/response/PolicyHttpResponseParser.java
+14
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@
28
28
29
29
importjava.util.List;
30
30
importjava.util.Map;
31
+
importjava.util.Optional;
31
32
importjava.util.function.Function;
32
33
33
34
importstaticjava.util.Collections.emptyList;
@@ -65,4 +66,17 @@ public List<SourceRecord> parse(HttpResponse response) {
65
66
thrownewIllegalStateException(String.format("Policy failed for response code: %s, body: %s", response.getCode(), ofNullable(response.getBody()).map(String::new).orElse("")));
Copy file name to clipboardexpand all lines: kafka-connect-http/src/main/java/com/github/castorm/kafka/connect/http/response/jackson/JacksonKvRecordHttpResponseParser.java
+5
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,11 @@ public List<KvRecord> parse(HttpResponse response) {
Copy file name to clipboardexpand all lines: kafka-connect-http/src/main/java/com/github/castorm/kafka/connect/http/response/jackson/JacksonRecordParser.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ public void configure(Map<String, ?> settings) {
Copy file name to clipboardexpand all lines: kafka-connect-http/src/main/java/com/github/castorm/kafka/connect/http/response/jackson/JacksonRecordParserConfig.java
Copy file name to clipboardexpand all lines: kafka-connect-http/src/main/java/com/github/castorm/kafka/connect/http/response/jackson/JacksonResponseRecordParser.java
+13-1
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@
28
28
importorg.apache.kafka.common.Configurable;
29
29
30
30
importjava.util.Map;
31
+
importjava.util.Optional;
31
32
importjava.util.function.Function;
32
33
importjava.util.stream.Stream;
33
34
@@ -45,6 +46,10 @@ public class JacksonResponseRecordParser implements Configurable {
Copy file name to clipboardexpand all lines: kafka-connect-http/src/main/java/com/github/castorm/kafka/connect/http/response/jackson/JacksonSerializer.java
Copy file name to clipboardexpand all lines: kafka-connect-http/src/main/java/com/github/castorm/kafka/connect/http/response/spi/HttpResponseParser.java
Copy file name to clipboardexpand all lines: kafka-connect-http/src/main/java/com/github/castorm/kafka/connect/http/response/spi/KvRecordHttpResponseParser.java
Copy file name to clipboardexpand all lines: kafka-connect-http/src/test/java/com/github/castorm/kafka/connect/http/response/KvHttpResponseParserConfigTest.java
Copy file name to clipboardexpand all lines: kafka-connect-http/src/test/java/com/github/castorm/kafka/connect/http/response/PolicyHttpResponseParserConfigTest.java
0 commit comments