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: src/main/java/com/github/megachucky/kafka/streams/machinelearning/Kafka_Streams_TensorFlow_Serving_gRPC_Example.java
+13-17Lines changed: 13 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@
19
19
20
20
importjava.io.FileInputStream;
21
21
importjava.io.InputStream;
22
+
importjava.util.Collections;
22
23
importjava.util.List;
23
24
importjava.util.Map;
24
25
importjava.util.Properties;
@@ -43,9 +44,6 @@ public class Kafka_Streams_TensorFlow_Serving_gRPC_Example {
43
44
// Image path will be received from Kafka message to topic 'imageInputTopic'
44
45
privatestaticStringimagePath = null;
45
46
46
-
// Prediction of the TensorFlow Image Recognition model
47
-
privatestaticList<Map.Entry<String, Double>> list = null;
0 commit comments