Documentation ¶
Index ¶
Constants ¶
View Source
const ( FlagKafkaConnStr = "indexer-kafka-conn-str" FlagKafkaMaxRetry = "indexer-kafka-max-retry" FlagSendOffchainData = "indexer-send-offchain-data" MsgSenderInstanceForTest = "msgsender-instance-for-test" )
List of CLI flags
View Source
const (
DefaultMaxRetries = 3
)
List of default values
Variables ¶
This section is empty.
Functions ¶
func AddIndexerFlagsToCmd ¶
AddIndexerFlagsToCmd adds the required flags to instantiate a connection to Kafka during App initialization to a command. These flags should be applied to the `start` command of the V4 Cosmos application. E.g. `dydxprotocold start --indexer-kafka-conn-str kafka:9092
Types ¶
type IndexerFlags ¶
func GetIndexerFlagValuesFromOptions ¶
func GetIndexerFlagValuesFromOptions( appOpts servertypes.AppOptions, ) IndexerFlags
GetIndexerFlagValuesFromOptions gets values for connecting to Kafka from the `AppOptions` struct which contains values from the Indexer command-line flags.
Click to show internal directories.
Click to hide internal directories.