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

Method Replicas

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

Replicas returns the set of all replica IDs for the given partition.

(topic string, partitionID int32)

Source from the content-addressed store, hash-verified

62
63 // Replicas returns the set of all replica IDs for the given partition.
64 Replicas(topic string, partitionID int32) ([]int32, error)
65
66 // InSyncReplicas returns the set of all in-sync replica IDs for the given
67 // partition. In-sync replicas are replicas which are fully caught up with

Callers 3

TestClientMetadataFunction · 0.95
TestFuncClientMetadataFunction · 0.95

Implementers 2

stubLeaderClientasync_producer_test.go
clientclient.go

Calls

no outgoing calls

Tested by 3

TestClientMetadataFunction · 0.76
TestFuncClientMetadataFunction · 0.76