| 50 | } |
| 51 | |
| 52 | type PulsarEventQueueFactory struct { |
| 53 | newSourceChan func(ctx context.Context, config *SourceQueueConfig) (<-chan Record, error) |
| 54 | newSinkChan func(ctx context.Context, config *SinkQueueConfig) (chan<- Record, error) |
| 55 | } |
| 56 | |
| 57 | func (f *PulsarEventQueueFactory) NewSourceTube(ctx context.Context, configMap ConfigMap) (<-chan Record, error) { |
| 58 | config := SourceQueueConfig{} |
nothing calls this directly
no outgoing calls
no test coverage detected