SingleKeyWriter< K, V, UT > DataStorm::makeSingleKeyWriter | ( | const Topic< K, V, UT > & | topic, |
const typename Topic< K, V, UT >::KeyType & | key, | ||
std::string | name = std::string(), | ||
const WriterConfig & | config = WriterConfig() ) |
Creates a key writer for the given topic and key.
This helper method deduces the topic Key, Value and UpdateTag types from the topic argument.
topic | The topic. |
key | The key. |
name | The optional writer name. |
config | The optional writer configuration. |
Definition at line 835 of file DataStorm.h.