MCPcopy Create free account
hub / github.com/AdRoll/baker / Stop

Method Stop

api.go:72–72  ·  view source on GitHub ↗

Force the input to stop as clean as possible, at a good boundary. This is usually issued at the user's request of exiting the process. For instance, it might make sense to finish processing the current batch of data or the current file, and then save in stable storage the checkpoint to resume it lat

()

Source from the content-addressed store, hash-verified

70 // batch of data or the current file, and then save in stable storage
71 // the checkpoint to resume it later.
72 Stop()
73
74 // Return stats about the input
75 Stats() InputStats

Callers 12

RunMethod · 0.65
StopMethod · 0.65
newWorkerFunction · 0.65
BenchmarkFilesOutputFunction · 0.65
RunMethod · 0.65
testIntegrationS3Function · 0.65
RunMethod · 0.65
testIntegrationSQSFunction · 0.65
TestTCP1by1Function · 0.65
TestTCPChunksFunction · 0.65
RunMethod · 0.65
setFatalErrMethod · 0.65

Implementers 10

dummyInputtopology_test.go
SQSinput/sqs.go
Kinesisinput/kinesis.go
KCLinput/kcl.go
TCPinput/tcp.go
Listinput/list.go
Recordsinput/inputtest/records.go
Baseinput/inputtest/base.go
Randominput/inputtest/random.go
LogLineinput/inputtest/logline.go

Calls

no outgoing calls

Tested by 5

BenchmarkFilesOutputFunction · 0.52
testIntegrationS3Function · 0.52
testIntegrationSQSFunction · 0.52
TestTCP1by1Function · 0.52
TestTCPChunksFunction · 0.52