Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStatePipelineSession ¶
func NewStatePipelineSession(esUrl, esIndex string) (*ingest.SingleLedgerSession, error)
NewStatePipelineSession runs a single ledger session.
Types ¶
type ESProcessor ¶
type ESProcessor struct {
// contains filtered or unexported fields
}
ESProcessor serializes ledger change entries as JSONs and writes them to an ElasticSearch cluster.
func (*ESProcessor) ProcessState ¶
func (p *ESProcessor) ProcessState(ctx context.Context, store *supportPipeline.Store, r io.StateReader, w io.StateWriter) error
ProcessState reads, prints, and writes changes to ledger state to ElasticSearch.
Click to show internal directories.
Click to hide internal directories.