Documentation
¶
Index ¶
- Constants
- func Consume(c *cli.Context, cClient ccli.Client)
- func CreateConsumerGroup(c *cli.Context, cClient ccli.Client, cliHelper common.CliHelper)
- func CreateDestination(c *cli.Context, cClient ccli.Client, cliHelper common.CliHelper)
- func DeleteConsumerGroup(c *cli.Context, cClient ccli.Client)
- func DeleteDestination(c *cli.Context, cClient ccli.Client)
- func ExitIfError(err error)
- func GetCClient(c *cli.Context, serviceName string) ccli.Client
- func GetConsumerGroupState(c *cli.Context)
- func GetDestinationState(c *cli.Context)
- func GetMClient(c *cli.Context, serviceName string) mcli.Client
- func Jsonify(obj thrift.TStruct) string
- func ListAllConsumerGroups(c *cli.Context)
- func ListAllLoadedDestinations(c *cli.Context)
- func ListConsumerGroups(c *cli.Context, cClient ccli.Client)
- func ListDestinations(c *cli.Context, mClient mcli.Client)
- func MergeDLQForConsumerGroup(c *cli.Context, cClient ccli.Client)
- func Publish(c *cli.Context, cClient ccli.Client)
- func PurgeDLQForConsumerGroup(c *cli.Context, cClient ccli.Client)
- func ReadCgBacklog(c *cli.Context, cClient ccli.Client)
- func ReadConsumerGroup(c *cli.Context, mClient mcli.Client)
- func ReadDestination(c *cli.Context, mClient mcli.Client)
- func ReadDlq(c *cli.Context, mClient mcli.Client)
- func ReadMessage(c *cli.Context, mClient mcli.Client)
- func SealConsistencyCheck(c *cli.Context, mClient mcli.Client)
- func StoreGetAddressFromTimestamp(c *cli.Context, mClient mcli.Client)
- func StoreIsExtentSealed(c *cli.Context, mClient mcli.Client)
- func StoreListExtents(c *cli.Context, mClient mcli.Client)
- func StorePurgeMessages(c *cli.Context, mClient mcli.Client)
- func StoreSealExtent(c *cli.Context, mClient mcli.Client)
- func UnloadConsumerGroup(c *cli.Context, mClient mcli.Client)
- func UnloadDestination(c *cli.Context, mClient mcli.Client)
- func UpdateConsumerGroup(c *cli.Context, cClient ccli.Client)
- func UpdateDestination(c *cli.Context, cClient ccli.Client, mClient mcli.Client)
- type GlobalOptions
Constants ¶
const ( // DefaultPageSize is the default page size for data base access for command line DefaultPageSize = 1000 // UnknownUUID is the suffix added to a host when the host uuid does not exist in cassandra UnknownUUID = " UNKNOWN_HOST_UUID" // DestinationType is the name for entity type for destination in listEntityOps DestinationType = "DST" // ConsumerGroupType is the name for entity type for consumer group in listEntityOps ConsumerGroupType = "CG" // MinUnconsumedMessagesRetentionForMultiZoneDest is the minimum unconsumed retention allowed MinUnconsumedMessagesRetentionForMultiZoneDest = 3 * 24 * 3600 )
Variables ¶
This section is empty.
Functions ¶
func CreateConsumerGroup ¶
CreateConsumerGroup create consumer group based on cli.Context
func CreateDestination ¶
CreateDestination create destination
func DeleteConsumerGroup ¶
DeleteConsumerGroup delete the consumer group based on Cli.Context
func DeleteDestination ¶
DeleteDestination delete the destination based on Cli.Context
func ExitIfError ¶
func ExitIfError(err error)
ExitIfError exit while err is not nil and print the calling stack also
func GetCClient ¶
GetCClient return a cherami.Client
func GetConsumerGroupState ¶ added in v1.26.0
GetConsumerGroupState unloads the CG based on cli.Context
func GetDestinationState ¶ added in v1.26.0
GetDestinationState unloads the Destination based on cli.Context
func GetMClient ¶
GetMClient return a metadata.Client
func ListAllConsumerGroups ¶ added in v1.26.0
ListAllConsumerGroups lists all loaded CGs in memory of the outputhost
func ListAllLoadedDestinations ¶ added in v1.26.0
ListAllLoadedDestinations lists all loaded Destinations in memory of the inputhost
func ListConsumerGroups ¶
ListConsumerGroups return the consumer groups based on the destination provided
func ListDestinations ¶
ListDestinations return destinations based on the Cli.Context
func MergeDLQForConsumerGroup ¶
MergeDLQForConsumerGroup return the consumer group information
func PurgeDLQForConsumerGroup ¶
PurgeDLQForConsumerGroup return the consumer group information
func ReadCgBacklog ¶
ReadCgBacklog reads the CG back log
func ReadConsumerGroup ¶
ReadConsumerGroup return the consumer group information
func ReadDestination ¶
ReadDestination return the detail for dest, and also consumer group for this dest
func ReadMessage ¶
ReadMessage implement for show msg command line
func SealConsistencyCheck ¶ added in v1.26.0
SealConsistencyCheck implement for show msg command line
func StoreGetAddressFromTimestamp ¶ added in v1.26.0
StoreGetAddressFromTimestamp sends a GetAddressFromTimestamp request to the specified store
func StoreIsExtentSealed ¶ added in v1.26.0
StoreIsExtentSealed checks if an extent is sealed on the specified store
func StoreListExtents ¶ added in v1.26.0
StoreListExtents sends a request to the specified store to get a list of extents
func StorePurgeMessages ¶ added in v1.26.0
StorePurgeMessages sends a purge command for an extent to the specified store.
func StoreSealExtent ¶ added in v1.26.0
StoreSealExtent sends a SealExtent request for an extent on a storehost
func UnloadConsumerGroup ¶
UnloadConsumerGroup unloads the CG based on cli.Context
func UnloadDestination ¶ added in v1.26.0
UnloadDestination unloads the Destination based on cli.Context
func UpdateConsumerGroup ¶
UpdateConsumerGroup update the consumer group based on cli.Context
Types ¶
type GlobalOptions ¶
type GlobalOptions struct {
// contains filtered or unexported fields
}
GlobalOptions are options shared by most command line