MCPcopy
hub / github.com/IBM/sarama / InSyncReplicas

Method InSyncReplicas

client.go:69–69  ·  view source on GitHub ↗

InSyncReplicas returns the set of all in-sync replica IDs for the given partition. In-sync replicas are replicas which are fully caught up with the partition leader.

(topic string, partitionID int32)

Source from the content-addressed store, hash-verified

67 // partition. In-sync replicas are replicas which are fully caught up with
68 // the partition leader.
69 InSyncReplicas(topic string, partitionID int32) ([]int32, error)
70
71 // OfflineReplicas returns the set of all offline replica IDs for the given
72 // partition. Offline replicas are replicas which are offline

Callers 2

TestClientMetadataFunction · 0.95

Implementers 2

stubLeaderClientasync_producer_test.go
clientclient.go

Calls

no outgoing calls

Tested by 2

TestClientMetadataFunction · 0.76