The constructor for the TcpEventSink class indicates that the IEventTextFormatter formatter parameter is optional. However, it is not set anywhere in the code and it throws a null reference exception in the OnNext() where you use the formatter to write the event.
The constructor for the TcpEventSink class indicates that the IEventTextFormatter formatter parameter is optional. However, it is not set anywhere in the code and it throws a null reference exception in the OnNext() where you use the formatter to write the event.