...
Code Block | ||
---|---|---|
| ||
/** * Create an instance of {@link Produced} with provided processor name. * * @param processorName the processor name to be used. If {@code null} a default processor name will be generated * @param <K> key type * @param <V> value type * @return a new instance of {@link Produced} */ public static <K, V> Produced<K, V> with(final String processorName) { return new Consumed<>Produced<>(null, null, null, null, processorName); } /** * Configure the instance of {@link Produced} with a key {@link Serde}. * * @param processorName the processor name to be used. If {@code null} a default processor name will be generated * @return this */ public Produced<K, V> withProcessorName(final String processorName) { this.processorName = processorName; return this; } |
...