Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { BrokerAddr []string `` /* 151-byte string literal not displayed */ PaymentReconciliationGroupName string `` /* 157-byte string literal not displayed */ PaymentProcessedTopic string `` /* 138-byte string literal not displayed */ ZookeeperChroot string `` /* 139-byte string literal not displayed */ ZookeeperURL string `` /* 140-byte string literal not displayed */ RetryThrottleRate int `` /* 142-byte string literal not displayed */ MaxRetryAttempts int `` /* 137-byte string literal not displayed */ IsErrorConsumer bool `` /* 161-byte string literal not displayed */ ChsAPIKey string `` /* 129-byte string literal not displayed */ SchemaRegistryURL string `` /* 134-byte string literal not displayed */ PaymentsAPIURL string `` /* 151-byte string literal not displayed */ MongoDBURL string `` /* 133-byte string literal not displayed */ Database string `` /* 140-byte string literal not displayed */ TransactionsCollection string `` /* 163-byte string literal not displayed */ ProductsCollection string `` /* 159-byte string literal not displayed */ RefundsCollection string `` /* 150-byte string literal not displayed */ SkipGoneResource bool `` /* 204-byte string literal not displayed */ SkipGoneResourceId string `` /* 234-byte string literal not displayed */ // contains filtered or unexported fields }
Config is the payment reconciliation consumer config
type ProductMap ¶
ProductMap contains a map of product codes
func GetProductMap ¶
func GetProductMap() (*ProductMap, error)
GetProductMap fetches a map of product codes
Click to show internal directories.
Click to hide internal directories.