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

Function NewMockInitProducerIDResponse

mockresponses.go:1519–1523  ·  view source on GitHub ↗
(t TestReporter)

Source from the content-addressed store, hash-verified

1517}
1518
1519func NewMockInitProducerIDResponse(t TestReporter) *MockInitProducerIDResponse {
1520 return &MockInitProducerIDResponse{
1521 t: t,
1522 }
1523}
1524
1525func (m *MockInitProducerIDResponse) SetProducerID(id int) *MockInitProducerIDResponse {
1526 m.producerID = int64(id)

Calls

no outgoing calls