producers

package
v0.0.0-...-87f4a77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Produce

func Produce(w *kafka.Writer, message []byte, topic string)

func ProduceLedger

func ProduceLedger(w *kafka.Writer, message []byte)

func ProduceTransaction

func ProduceTransaction(w *kafka.Writer, message []byte)

* Submits transaction object to Kafka

func ProduceTransactions

func ProduceTransactions(w *kafka.Writer, message []byte)

* Produce multiple transactions from a given ledger_index. * * Verifies structure of `ledger` websocket command, iterates over `transactions` * slice, and calls ProduceTransaction for each transaction object. * * These transaction objects have slightly different structure, as compared to * transactions returned via `tx` and `account_tx` commands.

func ProduceValidation

func ProduceValidation(w *kafka.Writer, message []byte)

func RunProducers

func RunProducers()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL