MCPcopy Create free account

hub / github.com/IBM/sarama / types & classes

Types & classes511 in github.com/IBM/sarama

↓ 113 callersTypeAliasStringEncoder
make strings and byte slices encodable for convenience so they can be used as keys and/or values in kafka messages StringEncoder implements the Encode
utils.go:76
↓ 15 callersTypeAliasByteEncoder
ByteEncoder implements the Encoder interface for Go byte slices so that they can be used as the Key or Value in a ProducerMessage.
utils.go:88
↓ 15 callersTypeAliasConfigurationError
ConfigurationError is the type of error returned from a constructor (e.g. NewClient, or NewConsumer) when the specified configuration is invalid.
errors.go:167
↓ 8 callersTypeAliasKError
KError is the type of error that can be returned directly by the Kafka broker. See https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Ka
errors.go:175
↓ 5 callersTypeAliasConfigResourceType
ConfigResourceType is a type for resources that have configs.
config_resource_type.go:4
↓ 3 callersTypeAliasAclResourcePatternType
acl_types.go:15
↓ 3 callersTypeAliasConfigSource
describe_configs_response.go:8
↓ 3 callersTypeAliasQuotaEntityType
quota_types.go:4
↓ 2 callersTypeAliasAclOperation
acl_types.go:9
↓ 2 callersTypeAliasAclPermissionType
acl_types.go:11
↓ 2 callersTypeAliasAclResourceType
acl_types.go:13
↓ 2 callersTypeAliasCompressionCodec
CompressionCodec represents the various compression codecs recognized by Kafka in messages.
message.go:33
↓ 2 callersTypeAliasIsolationLevel
fetch_request.go:106
↓ 2 callersTypeAliasRequiredAcks
RequiredAcks is used in Produce Requests to tell the broker how many replica acknowledgements it must see before responding. Any of the constants defi
produce_request.go:10
↓ 2 callersTypeAliasScramMechanismType
describe_user_scram_credentials_response.go:5
↓ 2 callersTypeAliasint32Slice
make []int32 sortable so we can sort partition numbers
utils.go:20
↓ 2 callersTypeAliasrecordsArray
record_batch.go:11
↓ 2 callersFuncTypetaggedFieldValue
taggedFieldValue adapts an encode closure for encode(); tagged-field values are always compact-encoded, so it reports itself as flexible
encoder_decoder.go:50
↓ 1 callersTypeAliasConfigType
describe_configs_response.go:37
↓ 1 callersTypeAliasCoordinatorType
find_coordinator_request.go:3
↓ 1 callersTypeAliasElectionType
election_type.go:3
↓ 1 callersTypeAliasIncrementalAlterConfigsOperation
incremental_alter_configs_request.go:3
↓ 1 callersTypeAliasQuotaMatchType
quota_types.go:6
↓ 1 callersInterfacedecoder
decoder is the interface that wraps the basic Decode method. Anything implementing Decoder can be extracted from bytes using Kafka's encoding rules.
encoder_decoder.go:60
↓ 1 callersTypeAliasfaultyEncoder
mocks/sync_producer_test.go:348
↓ 1 callersTypeAliasfetchRecordsSet
fetch_response.go:55
↓ 1 callersTypeAliasflakyEncoder
async_producer_test.go:125
↓ 1 callersStructhandler
consumer_group_test.go:17
StructAbortedTransaction
fetch_response.go:16
StructAccessToken
AccessToken contains an access token used to authenticate a SASL/OAUTHBEARER client along with associated metadata.
broker.go:94
InterfaceAccessTokenProvider
AccessTokenProvider is the interface that encapsulates how implementers can generate access tokens for Kafka broker authentication.
broker.go:106
StructAcl
Acl holds information about acl type
acl_bindings.go:50
StructAclCreation
AclCreation is a wrapper around Resource and Acl type
acl_create_request.go:90
StructAclCreationResponse
AclCreationResponse is an acl creation response type
acl_create_response.go:103
StructAclFilter
acl_filter.go:3
StructAddOffsetsToTxnRequest
AddOffsetsToTxnRequest adds offsets to a transaction request
add_offsets_to_txn_request.go:4
StructAddOffsetsToTxnResponse
AddOffsetsToTxnResponse is a response type for adding offsets to txns
add_offsets_to_txn_response.go:8
StructAddPartitionsToTxnRequest
AddPartitionsToTxnRequest is a add partition request
add_partitions_to_txn_request.go:4
StructAddPartitionsToTxnResponse
AddPartitionsToTxnResponse is a partition errors to transaction type
add_partitions_to_txn_response.go:8
StructAlterClientQuotasEntry
alter_client_quotas_request.go:24
StructAlterClientQuotasEntryResponse
alter_client_quotas_response.go:26
StructAlterClientQuotasRequest
AlterClientQuotas Request (Version: 0) => [entries] validate_only entries => [entity] [ops] entity => entity_type entity_name entity_type => STRING en
alter_client_quotas_request.go:14
StructAlterClientQuotasResponse
AlterClientQuotas Response (Version: 0) => throttle_time_ms [entries] throttle_time_ms => INT32 entries => error_code error_message [entity] error_cod
alter_client_quotas_response.go:16
StructAlterConfigError
alter_configs_response.go:19
StructAlterConfigsRequest
AlterConfigsRequest is an alter config request type
alter_configs_request.go:4
StructAlterConfigsResource
AlterConfigsResource is an alter config resource type
alter_configs_request.go:15
StructAlterConfigsResourceResponse
AlterConfigsResourceResponse is a response type for alter config resource
alter_configs_response.go:37
StructAlterConfigsResponse
AlterConfigsResponse is a response type for alter config
alter_configs_response.go:9
StructAlterConsumerGroupOffsetsOptions
AlterConsumerGroupOffsetsOptions configures how offsets are committed. It is currently empty and reserved for future Kafka protocol options
admin_offsets.go:35
StructAlterPartitionReassignmentsRequest
alter_partition_reassignments_request.go:26
StructAlterPartitionReassignmentsResponse
alter_partition_reassignments_response.go:34
StructAlterUserScramCredentialsDelete
alter_user_scram_credentials_request.go:17
StructAlterUserScramCredentialsRequest
alter_user_scram_credentials_request.go:3
StructAlterUserScramCredentialsResponse
alter_user_scram_credentials_response.go:5
StructAlterUserScramCredentialsResult
alter_user_scram_credentials_response.go:17
StructAlterUserScramCredentialsUpsert
alter_user_scram_credentials_request.go:22
StructApiVersionsRequest
api_versions_request.go:5
StructApiVersionsResponse
api_versions_response.go:132
StructApiVersionsResponseKey
ApiVersionsResponseKey contains the APIs supported by the broker.
api_versions_response.go:8
InterfaceAsyncProducer
AsyncProducer publishes Kafka messages using a non-blocking API. It routes messages to the correct broker for the provided topic-partition, refreshing
async_producer.go:38
StructAsyncProducer
AsyncProducer implements sarama's Producer interface for testing purposes. Before you can send messages to it's Input channel, you have to set expecta
mocks/async_producer.go:16
TypeAliasAttributes
internal/toxiproxy/proxy.go:19
InterfaceBalanceStrategy
-------------------------------------------------------------------- BalanceStrategy is used to balance topics and partitions across members of a cons
balance_strategy.go:50
TypeAliasBalanceStrategyPlan
BalanceStrategyPlan is the results of any BalanceStrategy.Plan attempt. It contains an allocation of topic/partitions by memberID in the form of a `me
balance_strategy.go:33
StructBroker
Broker represents a single Kafka broker connection. All operations on this object are entirely concurrency-safe.
broker.go:23
FuncTypeBuildSpnFunc
func(serviceName, host string) string
gssapi_kerberos.go:62
InterfaceClient
Client is a generic Kafka client. It manages connections to one or more Kafka brokers. You MUST call Close() on a client to avoid leaks, it will not b
client.go:24
StructClient
internal/toxiproxy/client.go:12
StructClientQuotasOp
alter_client_quotas_request.go:29
InterfaceClusterAdmin
ClusterAdmin is the administrative client for Kafka, which supports managing and inspecting topics, brokers, configurations and ACLs. The minimum brok
admin.go:19
StructConfig
Config is used to pass multiple configuration options to Sarama's constructors.
config.go:26
StructConfigEntry
describe_configs_response.go:87
StructConfigResource
describe_configs_request.go:14
StructConfigResourceResult
ConfigResourceResult is the described configuration for a single resource.
admin.go:840
StructConfigSynonym
describe_configs_response.go:99
InterfaceConsumer
Consumer manages PartitionConsumers which process Kafka messages from brokers. You MUST call Close() on a consumer to avoid leaks, it will not be garb
consumer.go:54
StructConsumer
Consumer implements sarama's Consumer interface for testing purposes. Before you can start consuming from this consumer, you have to register topic/pa
mocks/consumer.go:13
StructConsumer
Consumer represents a Sarama consumer group consumer
examples/consumergroup/main.go:164
StructConsumer
Consumer is a minimal ConsumerGroupHandler that also tracks an in-flight counter so it can report a meaningful load sample.
examples/consumer_load_aware/main.go:107
StructConsumer
Consumer represents a Sarama consumer group consumer
examples/exactly_once/main.go:192
StructConsumerError
ConsumerError is what is provided to the user when an error occurs. It wraps an error and includes the topic and partition.
consumer.go:28
TypeAliasConsumerErrors
ConsumerErrors is a type that wraps a batch of errors and implements the Error interface. It can be returned from the PartitionConsumer's Close method
consumer.go:45
InterfaceConsumerGroup
ConsumerGroup is responsible for dividing up processing of topics and partitions over a collection of processes (the members of the consumer group).
consumer_group.go:34
InterfaceConsumerGroupClaim
ConsumerGroupClaim processes Kafka messages from a given topic and partition within a consumer group.
consumer_group_session.go:427
InterfaceConsumerGroupHandler
-------------------------------------------------------------------- ConsumerGroupHandler instances are used to handle individual topic/partition clai
consumer_group_session.go:410
StructConsumerGroupMemberAssignment
ConsumerGroupMemberAssignment holds the member assignment for a consume group https://github.com/apache/kafka/blob/trunk/clients/src/main/resources/co
consumer_group_members.go:146
StructConsumerGroupMemberMetadata
ConsumerGroupMemberMetadata holds the metadata for consumer group https://github.com/apache/kafka/blob/trunk/clients/src/main/resources/common/message
consumer_group_members.go:11
StructConsumerGroupMetadata
ConsumerGroupMetadata identifies the consumer group, and optionally the group member, on whose behalf offsets are committed within a transaction. Whe
consumer_group_metadata.go:11
InterfaceConsumerGroupSession
ConsumerGroupSession represents a consumer group member session.
consumer_group_session.go:11
InterfaceConsumerInterceptor
ConsumerInterceptor allows you to intercept (and possibly mutate) the records received by the consumer before they are sent to the messages channel. h
interceptors.go:17
StructConsumerMessage
ConsumerMessage encapsulates a Kafka message returned by the consumer.
consumer.go:15
StructConsumerMetadataRequest
ConsumerMetadataRequest is used for metadata requests
consumer_metadata_request.go:4
StructConsumerMetadataResponse
ConsumerMetadataResponse holds the response for a consumer group meta data requests
consumer_metadata_response.go:9
StructControlRecord
Control records are returned as a record by fetchRequest However unlike "normal" records, they mean nothing application wise. They only serve internal
control_record.go:18
TypeAliasControlRecordType
ControlRecordType ...
control_record.go:4
StructCreatableTopicConfigs
CreatableTopicConfigs contains a Configuration of the topic.
create_topics_response.go:304
StructCreatableTopicResult
CreatableTopicResult struct {
create_topics_response.go:213
StructCreateAclsRequest
CreateAclsRequest is an acl creation request
acl_create_request.go:4
StructCreateAclsResponse
CreateAclsResponse is a an acl response creation type
acl_create_response.go:6
StructCreatePartitionsRequest
create_partitions_request.go:5
next →1–100 of 511, ranked by callers