Package ch.squaredesk.nova.comm.kafka
Class KafkaAdapter
- java.lang.Object
-
- ch.squaredesk.nova.comm.CommAdapter<String>
-
- ch.squaredesk.nova.comm.kafka.KafkaAdapter
-
public class KafkaAdapter extends ch.squaredesk.nova.comm.CommAdapter<String>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKafkaAdapter.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KafkaAdapter.Builderbuilder()io.reactivex.Flowable<String>messages(String destination)<T> io.reactivex.Flowable<T>messages(String destination, io.reactivex.functions.Function<String,T> messageTranscriber)<T> io.reactivex.Flowable<T>messages(String destination, Class<T> messageType)io.reactivex.CompletablesendMessage(String destination, String message)<T> io.reactivex.CompletablesendMessage(String destination, T message)<T> io.reactivex.CompletablesendMessage(String destination, T message, io.reactivex.functions.Function<T,String> transcriber)voidshutdown()
-
-
-
Method Detail
-
sendMessage
public <T> io.reactivex.Completable sendMessage(String destination, T message)
-
sendMessage
public <T> io.reactivex.Completable sendMessage(String destination, T message, io.reactivex.functions.Function<T,String> transcriber)
-
messages
public <T> io.reactivex.Flowable<T> messages(String destination, io.reactivex.functions.Function<String,T> messageTranscriber)
-
shutdown
public void shutdown()
-
builder
public static KafkaAdapter.Builder builder()
-
-