Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flow ¶
type Flow interface { RegisterHandler(h stream.FlowEventHandler) Run(ctx context.Context, block bool) error }
Flow is same as Flow but makes sure the handlers get only partitioned data it's not able to distinguish between the the list and watch because of the nature of other members joining and leaving might need to process the data of an old member who just left
type FlowProcessorProvider ¶
type FlowProcessorProvider struct {
// contains filtered or unexported fields
}
func (*FlowProcessorProvider) RegisterHandler ¶
func (f *FlowProcessorProvider) RegisterHandler(h stream.FlowEventHandler)
only can be run in the beginning not dynamic
Click to show internal directories.
Click to hide internal directories.