Interface CloudEventWriterFactory<W extends CloudEventWriter<R>,R>

Type Parameters:
W - The type of the CloudEventWriter created by this factory
R - The return value of the CloudEventWriter created by this factory
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface CloudEventWriterFactory<W extends CloudEventWriter<R>,R>
This factory is used to enforce setting the SpecVersion as first step in the writing process.