MCPcopy
hub / github.com/IBM/sarama

github.com/IBM/sarama @v1.50.3 sqlite

3,923 symbols 19,393 edges 316 files 805 documented

Extension points exported contracts — how you extend this code

Partitioner (Interface)
Partitioner is anything that, given a Kafka message and a number of partitions indexed [0...numPartitions-1], decides to [6 implem
partitioner.go
ConsumerGroupHandler (Interface)
-------------------------------------------------------------------- ConsumerGroupHandler instances are used to handle i [9 implem
consumer_group.go
MockResponse (Interface)
MockResponse is a response builder interface it defines one method that allows generating a response based on a request [45 imple
mockresponses.go
BalanceStrategy (Interface)
-------------------------------------------------------------------- BalanceStrategy is used to balance topics and parti [4 implem
balance_strategy.go
Consumer (Interface)
Consumer manages PartitionConsumers which process Kafka messages from brokers. You MUST call Close() on a consumer to av [2 implem
consumer.go
SyncProducer (Interface)
SyncProducer publishes Kafka messages, blocking until they have been acknowledged. It routes messages to the correct bro [2 implem
sync_producer.go
AccessTokenProvider (Interface)
AccessTokenProvider is the interface that encapsulates how implementors can generate access tokens for Kafka broker auth [2 implem
broker.go
ProducerInterceptor (Interface)
ProducerInterceptor allows you to intercept (and possibly mutate) the records received by the producer before they are p [2 implem
interceptors.go

Core symbols highest fan-in

Error
called by 812
mockresponses.go
Fatal
called by 590
mockresponses.go
Errorf
called by 485
mocks/mocks.go
BrokerID
called by 449
mockbroker.go
Addr
called by 433
mockbroker.go
Close
called by 266
mockbroker.go

Shape

Method 2,358
Function 1,085
Struct 381
TypeAlias 45
Interface 41
FuncType 13

Dependencies from manifests, versioned

github.com/IBM/saramav1.50.2 · 1×
github.com/cespare/xxhash/v2v2.3.0 · 1×
github.com/davecgh/go-spewv1.1.1 · 1×
github.com/eapache/go-resiliencyv1.7.0 · 1×
github.com/go-logr/logrv1.4.3 · 1×
github.com/go-logr/stdrv1.2.2 · 1×
github.com/google/uuidv1.6.0 · 1×
github.com/hashicorp/go-uuidv1.0.3 · 1×
github.com/jcmturner/aescts/v2v2.0.0 · 1×
github.com/jcmturner/dnsutils/v2v2.0.0 · 1×
github.com/jcmturner/goforkv1.7.6 · 1×
github.com/jcmturner/gokrb5/v8v8.4.4 · 1×

For agents

$ claude mcp add sarama \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact