T - public class DefaultRuntimeSink<T> extends Object implements RuntimeSink<T>
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static <T> DefaultRuntimeSink<T> |
of(Sink<T> sink) |
void |
open(Map<String,Object> config)
Open connector with configuration
|
CompletableFuture<Void> |
write(T value)
Attempt to publish a type safe collection of messages
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwritepublic static <T> DefaultRuntimeSink<T> of(Sink<T> sink)
public CompletableFuture<Void> write(T value)
public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2017–2018 Apache Software Foundation. All rights reserved.