tank_client.h
void reset() {
                        partitions_list.reset();
                        broker_requests_list_ll.reset();
                        pending_responses_list_ll.reset();
                        api_req      = nullptr;
                        br           = nullptr;
                        id           = 0;
                        have_payload = false;
                }
// Some requests, e.g discover_partitions
// are not associated with any partitions, so we could just include request-state here
// in a union - but for simplicity reasons, we 'll just use a request_partition_ctx as well, where the partititon doesn't really matter
Some requests, e.g discover_partitions
are not associated with any partitions, so we could just include request-state here
in a union - but for simplicity reasons, we 'll just use a request_partition_ctx as well, where the partititon doesn't really matter
Some requests e . g discover_partitions are not associated with any partitions so we could just include request - state here in a union - but for simplicity reasons we ' ll just use a request_partition_ctx as well where the partititon doesn ' t really matter
void reset() {
                        partitions_list.reset();
                        broker_requests_list_ll.reset();
                        pending_responses_list_ll.reset();
                        api_req      = nullptr;
                        br           = nullptr;
                        id           = 0;
                        have_payload = false;
                }
void reset ( ) { partitions_list . reset ( ) ; broker_requests_list_ll . reset ( ) ; pending_responses_list_ll . reset ( ) ; api_req = nullptr ; br = nullptr ; id = 0 ; have_payload = false ; }
Some requests, e.g discover_partitions
are not associated with any partitions, so we could just include request-state here
in a union - but for simplicity reasons, we 'll just use a request_partition_ctx as well, where the partititon doesn't really matter
Some requests e . g discover_partitions are not associated with any partitions so we could just include request - state here in a union - but for simplicity reasons we ' ll just use a request_partition_ctx as well where the partititon doesn ' t really matter