NewSinkTube returns a new channel that can be used to sink events The event.Commit() would be invoked after the event is sunk successfully The caller should close the channel when it is done
(ctx context.Context, config ConfigMap)
| 103 | // The event.Commit() would be invoked after the event is sunk successfully |
| 104 | // The caller should close the channel when it is done |
| 105 | NewSinkTube(ctx context.Context, config ConfigMap) (chan<- Record, error) |
| 106 | } |
| 107 | |
| 108 | type TubeFactory interface { |
no outgoing calls