Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultBufferSize = 1000
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inspector ¶
type Inspector struct {
// contains filtered or unexported fields
}
Inspector is attached to an inspectable pipeline component and makes returns records coming in or out of the component. An Inspector is a "proxy" between the pipeline component being inspected and the API, which broadcasts records to all clients.
func (*Inspector) NewSession ¶
NewSession creates a new session in given inspector. componentID is the ID of the component being inspected (connector or processor). The session will be closed and removed from the inspector when the context is closed.
Click to show internal directories.
Click to hide internal directories.