Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreas-schroeder/kafka-health-check
/ functions
Functions
188 in github.com/andreas-schroeder/kafka-health-check
⨍
Functions
188
◇
Types & classes
22
↓ 46 callers
Method
EXPECT
()
check/connectors_mock.go:102
↓ 21 callers
Function
newTestCheck
()
check/test_helpers.go:14
↓ 19 callers
Method
Close
()
check/connectors.go:57
↓ 14 callers
Method
Exists
(path string)
check/connectors.go:58
↓ 12 callers
Method
Connect
(servers []string, sessionTimeout time.Duration)
check/connectors.go:56
↓ 10 callers
Method
Get
(path string)
check/connectors.go:62
↓ 10 callers
Function
healthyMetadata
(topicNames ...string)
check/test_helpers.go:104
↓ 10 callers
Function
mockBroker
(check *HealthCheck, ctrl *gomock.Controller)
check/test_helpers.go:36
↓ 10 callers
Function
newZkTestCheck
(ctrl *gomock.Controller)
check/test_helpers.go:338
↓ 9 callers
Method
checkClusterHealth
periodically checks health of the Kafka cluster
check/cluster_health_check.go:10
↓ 9 callers
Function
contains
(a []int32, el int32)
check/int32_slice.go:3
↓ 9 callers
Function
createZkNode
(zookeeper ZkConnection, path string, content string, failIfExists bool)
check/setup.go:251
↓ 9 callers
Function
simpleStatus
(status string)
check/status.go:61
↓ 8 callers
Function
NewMockZkConnection
(ctrl *gomock.Controller)
check/connectors_mock.go:96
↓ 8 callers
Method
Printf
(string, ...interface{})
check/connectors.go:73
↓ 7 callers
Method
Dial
(nodeAddresses []string, conf kafka.BrokerConf)
check/connectors.go:13
↓ 7 callers
Method
findPartitionID
(topicName string, forHealthCheck bool, createIfMissing *bool, metadata *proto.MetadataResp)
check/setup.go:74
↓ 7 callers
Function
healthyZkBrokers
()
check/test_helpers.go:209
↓ 7 callers
Method
mockSuccessfulPathCreation
(path string)
check/test_helpers.go:354
↓ 6 callers
Method
Create
(path string, data []byte, flags int32, acl []zk.ACL)
check/connectors.go:60
↓ 6 callers
Method
Metadata
()
check/connectors.go:19
↓ 6 callers
Method
checkBrokerHealth
sends one message to the broker partition, wait for it to appear on the consumer.
check/broker_health_check.go:13
↓ 5 callers
Method
Children
(path string)
check/connectors.go:61
↓ 5 callers
Method
Consumer
(conf kafka.ConsumerConf)
check/connectors.go:15
↓ 5 callers
Method
Producer
(conf kafka.ProducerConf)
check/connectors.go:17
↓ 5 callers
Method
createTopic
(name string, forHealthCheck bool)
check/setup.go:149
↓ 5 callers
Method
deleteTopic
(zkConn ZkConnection, chroot, name string, partitionID int32)
check/setup.go:290
↓ 5 callers
Function
healthyZkTopics
()
check/test_helpers.go:178
↓ 5 callers
Function
workingBroker
(check *HealthCheck, ctrl *gomock.Controller, stop <-chan struct{})
check/test_helpers.go:52
↓ 5 callers
Function
worstStatus
(s1 string, s2 string)
check/cluster_health_check.go:119
↓ 5 callers
Function
zookeeperEnsembleAndChroot
(connectString string)
check/setup.go:133
↓ 4 callers
Function
newServerSetup
()
check/status_server_testhelpers_test.go:12
↓ 4 callers
Function
outOfSyncMetadata
(topicNames ...string)
check/test_helpers.go:141
↓ 4 callers
Method
tryConnectOnce
(createBrokerTopic, createReplicationTopic *bool)
check/setup.go:31
↓ 4 callers
Function
zkPartitions
(topic *ZkTopic, zk ZkConnection, name, chroot string)
check/zk_metadata.go:73
↓ 3 callers
Method
mockFailingPathCreation
(path string)
check/test_helpers.go:359
↓ 3 callers
Method
mockTopicGet
(name string)
check/test_helpers.go:350
↓ 3 callers
Function
validTopicName
(name string)
check/parse_args.go:65
↓ 2 callers
Method
CheckHealth
CheckHealth checks broker and cluster health.
check/health_check.go:57
↓ 2 callers
Method
ServeHealth
ServeHealth answers http queries for broker and cluster health.
check/status_server.go:14
↓ 2 callers
Method
Summary
()
check/status.go:19
↓ 2 callers
Method
closeConnection
(deleteTopicIfPresent bool)
check/setup.go:272
↓ 2 callers
Method
connect
(firstConnection bool, stop <-chan struct{})
check/setup.go:14
↓ 2 callers
Function
findTopic
(name string, metadata *proto.MetadataResp)
check/setup.go:114
↓ 2 callers
Function
metadataWithoutTopic
()
check/test_helpers.go:324
↓ 2 callers
Function
newUpdate
(report StatusReport, name string)
check/health_check.go:112
↓ 2 callers
Function
reassignPartition
(zk ZkConnection, partitionID int32, replicas []int32, topicName, chroot string)
check/setup.go:218
↓ 2 callers
Function
stopAll
(zkID, kafkaID string, hcCmd *exec.Cmd)
compatibility/test.go:159
↓ 2 callers
Function
waitForExpectedResponse
(url, expected string)
check/status_server_testhelpers_test.go:46
↓ 2 callers
Function
waitForResponse
(url, expected string)
compatibility/test.go:195
↓ 2 callers
Function
waitForResponse
(url string, t *testing.T)
check/status_server_testhelpers_test.go:26
↓ 1 callers
Method
Json
()
check/status.go:20
↓ 1 callers
Function
NewMockBrokerConnection
(ctrl *gomock.Controller)
check/connectors_mock.go:25
↓ 1 callers
Method
ParseCommandLineArguments
ParseCommandLineArguments parses the command line arguments.
check/parse_args.go:15
↓ 1 callers
Method
Set
(path string, data []byte, version int32)
check/connectors.go:59
↓ 1 callers
Function
addShutdownHook
()
main.go:24
↓ 1 callers
Function
brokenBroker
(check *HealthCheck, ctrl *gomock.Controller)
check/test_helpers.go:75
↓ 1 callers
Method
brokerConfig
()
check/health_check.go:121
↓ 1 callers
Function
brokerExists
(brokerID int32, metadata *proto.MetadataResp)
check/setup.go:124
↓ 1 callers
Method
brokerInSync
checks whether the broker is in all ISRs of all partitions it replicates.
check/broker_health_check.go:57
↓ 1 callers
Method
brokerReplicates
(brokerStatus *BrokerStatus, metadata *proto.MetadataResp)
check/broker_health_check.go:78
↓ 1 callers
Function
buildDocker
(tag string, dir string, buildArgs ...string)
compatibility/test.go:225
↓ 1 callers
Method
checkBrokerMetadata
(metadata *proto.MetadataResp, zkBrokers []int32, cluster *ClusterStatus)
check/cluster_health_check.go:18
↓ 1 callers
Function
checkPartition
(partition *proto.MetadataRespPartition, zkTopic *ZkTopic, topicStatus *TopicStatus)
check/cluster_health_check.go:83
↓ 1 callers
Method
checkTopics
(metadata *proto.MetadataResp, zkTopics []ZkTopic, cluster *ClusterStatus)
check/cluster_health_check.go:41
↓ 1 callers
Function
cleanup
cleaning up intermediately created docker files.
compatibility/test.go:261
↓ 1 callers
Method
consumerConfig
()
check/health_check.go:128
↓ 1 callers
Function
delAll
(a []int32, el int32)
check/int32_slice.go:27
↓ 1 callers
Function
delAt
(a []int32, i int)
check/int32_slice.go:21
↓ 1 callers
Function
determineIp
()
compatibility/test.go:63
↓ 1 callers
Function
dockerBuildArgs
(tag string, dir string, buildArgs []string)
compatibility/test.go:239
↓ 1 callers
Method
getZooKeeperMetadata
()
check/zk_metadata.go:16
↓ 1 callers
Function
inSyncMetadata
()
check/test_helpers.go:250
↓ 1 callers
Function
indexOf
(a []int32, el int32)
check/int32_slice.go:12
↓ 1 callers
Function
maybeExpandReplicationTopic
(zk ZkConnection, brokerID, partitionID int32, topicName, chroot string)
check/setup.go:197
↓ 1 callers
Function
metadataWithoutBroker
()
check/test_helpers.go:311
↓ 1 callers
Function
missingZkBrokers
()
check/test_helpers.go:213
↓ 1 callers
Method
mockGet
(path, data string)
check/test_helpers.go:346
↓ 1 callers
Method
mockHealthyMetadata
(topics ...string)
check/test_helpers.go:364
↓ 1 callers
Function
mustReplaceBuildArgs
Docker versions prior to 1.9 do not support --build-args
compatibility/test.go:305
↓ 1 callers
Function
offlineMetadata
()
check/test_helpers.go:283
↓ 1 callers
Function
parseVersionSpecs
(baseDir string)
compatibility/test.go:325
↓ 1 callers
Function
partitionMissingZkTopics
()
check/test_helpers.go:200
↓ 1 callers
Method
producerConfig
()
check/health_check.go:137
↓ 1 callers
Function
randomBytes
creates a random message payload. based on the solution http://stackoverflow.com/a/31832326 provided by http://stackoverflow.com/users/1705598/icza
check/broker_health_check.go:108
↓ 1 callers
Method
reconnect
(stop <-chan struct{})
check/setup.go:331
↓ 1 callers
Function
replaceBuildArgs
(dir string, buildArgs []string)
compatibility/test.go:270
↓ 1 callers
Function
replicaMissingZkTopics
()
check/test_helpers.go:189
↓ 1 callers
Function
runTest
(tag string, spec versionSpec, healthCheckCommand string)
compatibility/test.go:91
↓ 1 callers
Function
startAll
(tag, healthCheckCommand string)
compatibility/test.go:115
↓ 1 callers
Function
underReplicatedMetadata
()
check/test_helpers.go:217
↓ 1 callers
Method
validateConfig
(l *log.Logger)
check/parse_args.go:48
↓ 1 callers
Method
waitForMessage
waits for a message with the payload of the given message to appear on the consumer side.
check/broker_health_check.go:35
↓ 1 callers
Method
waitForTopicDeletion
(topicPath string)
check/setup.go:318
↓ 1 callers
Function
waitForZooKeeper
()
compatibility/test.go:170
↓ 1 callers
Function
zkBrokers
(zk ZkConnection, chroot string)
check/zk_metadata.go:40
↓ 1 callers
Function
zkTopics
(zk ZkConnection, chroot string)
check/zk_metadata.go:55
Method
Children
(path string)
check/connectors_mock.go:159
Method
Children
(arg0 interface{})
check/connectors_mock.go:167
Method
Children
(path string)
check/connectors.go:100
next →
1–100 of 188, ranked by callers