2025-12-12T11:57:46.377774Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:46.377982Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:46.382539Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:46.382572Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/DirectReadWithClient-OneMessage/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:46.382664Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:46.390059Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:46.390082Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540666390 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:46.390121Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: session_id: "test-message_group_id|d0270983-d7596760-ccbdbd5f-93189838_0"
2025-12-12T11:57:46.390127Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d0270983-d7596760-ccbdbd5f-93189838_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:46.390174Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d0270983-d7596760-ccbdbd5f-93189838_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:46.390241Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d0270983-d7596760-ccbdbd5f-93189838_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:46.391718Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d0270983-d7596760-ccbdbd5f-93189838_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:46.391730Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d0270983-d7596760-ccbdbd5f-93189838_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:46.391734Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d0270983-d7596760-ccbdbd5f-93189838_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:46.392032Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d0270983-d7596760-ccbdbd5f-93189838_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:46.392158Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d0270983-d7596760-ccbdbd5f-93189838_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:46.392200Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d0270983-d7596760-ccbdbd5f-93189838_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/DirectReadWithClient-OneMessage/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:46.392286Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d0270983-d7596760-ccbdbd5f-93189838_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:46.396830Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d0270983-d7596760-ccbdbd5f-93189838_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:46.396860Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d0270983-d7596760-ccbdbd5f-93189838_0]  PartitionId [0]  Generation [1] Write session established. Init response: session_id: "test-message_group_id|cf3c6ba4-881a33f7-ba6e1766-4586102d_0"
2025-12-12T11:57:46.396866Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|cf3c6ba4-881a33f7-ba6e1766-4586102d_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:46.396933Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|cf3c6ba4-881a33f7-ba6e1766-4586102d_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
2025-12-12T11:57:46.396972Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|cf3c6ba4-881a33f7-ba6e1766-4586102d_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:46.397136Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|cf3c6ba4-881a33f7-ba6e1766-4586102d_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:46.397147Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|cf3c6ba4-881a33f7-ba6e1766-4586102d_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 1
2025-12-12T11:57:46.398819Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|cf3c6ba4-881a33f7-ba6e1766-4586102d_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:46.398851Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|cf3c6ba4-881a33f7-ba6e1766-4586102d_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 1 written { } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:46.398855Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|cf3c6ba4-881a33f7-ba6e1766-4586102d_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:46.398858Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|cf3c6ba4-881a33f7-ba6e1766-4586102d_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:46.497055Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|cf3c6ba4-881a33f7-ba6e1766-4586102d_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:46.497076Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|cf3c6ba4-881a33f7-ba6e1766-4586102d_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:46.497272Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|cf3c6ba4-881a33f7-ba6e1766-4586102d_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
2025-12-12T11:57:46.497281Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|cf3c6ba4-881a33f7-ba6e1766-4586102d_0]  PartitionId [0]  Generation [1] Write session: destroy
2025-12-12T11:57:46.497317Z :INFO: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] Starting read session
2025-12-12T11:57:46.497320Z :DEBUG: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] Starting single session
2025-12-12T11:57:46.497364Z :DEBUG: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] [] In Reconnect, ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-12-12T11:57:46.497368Z :DEBUG: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] [] New values: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-12-12T11:57:46.497372Z :DEBUG: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] [] Reconnecting session to cluster  in 0.000000s
2025-12-12T11:57:46.497628Z :DEBUG: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] [] Successfully connected. Initializing session
2025-12-12T11:57:46.498825Z :INFO: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] [] Got InitResponse. ReadSessionId: DirectReadWithClient-OneMessage-test-consumer_1_3_16890786057114005650_v1
2025-12-12T11:57:46.498848Z :DEBUG: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] [] In ContinueReadingDataImpl, ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-12-12T11:57:46.498924Z :DEBUG: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] [] After sending read request: ReadSizeBudget = 0, ReadSizeServerDelta = 52428800
2025-12-12T11:57:46.500436Z :INFO: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] [] Confirm partition stream create. Partition stream id: 1. Cluster: "-". Topic: "sdk_tests/DirectReadWithClient-OneMessage/test-topic". Partition: 0. Read offset: (NULL)
2025-12-12T11:57:46.500557Z :DEBUG: [local] 0x000053477F740510 TDirectReadSessionManager ServerSessionId=DirectReadWithClient-OneMessage-test-consumer_1_3_16890786057114005650_v1 StartPartitionSession 1 nodeId=1
2025-12-12T11:57:46.500573Z :DEBUG: [local] 0x000053477FBC6E20 TDirectReadSession ServerSessionId=DirectReadWithClient-OneMessage-test-consumer_1_3_16890786057114005650_v1 NodeId=1 Reconnecting direct read session to node 1 in 0.000000s
2025-12-12T11:57:46.500710Z :DEBUG: [local] 0x000053477FBC6E20 TDirectReadSession ServerSessionId=DirectReadWithClient-OneMessage-test-consumer_1_3_16890786057114005650_v1 NodeId=1 AddPartitionSession 1
2025-12-12T11:57:46.500715Z :DEBUG: [local] 0x000053477FBC6E20 TDirectReadSession ServerSessionId=DirectReadWithClient-OneMessage-test-consumer_1_3_16890786057114005650_v1 NodeId=1 SendStartRequestImpl partitionSession.State=0 delayedCall=0
2025-12-12T11:57:46.500717Z :DEBUG: [local] 0x000053477FBC6E20 TDirectReadSession ServerSessionId=DirectReadWithClient-OneMessage-test-consumer_1_3_16890786057114005650_v1 NodeId=1 SendStartRequestImpl bail out 1
2025-12-12T11:57:46.500748Z :DEBUG: [local] 0x000053477FBC6E20 TDirectReadSession ServerSessionId=DirectReadWithClient-OneMessage-test-consumer_1_3_16890786057114005650_v1 NodeId=1 Successfully connected. Initializing session
2025-12-12T11:57:46.500796Z :DEBUG: [local] 0x000053477FBC6E20 TDirectReadSession ServerSessionId=DirectReadWithClient-OneMessage-test-consumer_1_3_16890786057114005650_v1 NodeId=1 XXXXX subsession send message = init_request { session_id: "DirectReadWithClient-OneMessage-test-consumer_1_3_16890786057114005650_v1" topics_read_settings { path: "sdk_tests/DirectReadWithClient-OneMessage/test-topic" } consumer: "DirectReadWithClient-OneMessage-test-consumer" }
2025-12-12T11:57:46.501420Z :DEBUG: [local] 0x000053477FBC6E20 TDirectReadSession ServerSessionId=DirectReadWithClient-OneMessage-test-consumer_1_3_16890786057114005650_v1 NodeId=1 XXXXX subsession got message = status: SUCCESS init_response { }
2025-12-12T11:57:46.501428Z :DEBUG: [local] 0x000053477FBC6E20 TDirectReadSession ServerSessionId=DirectReadWithClient-OneMessage-test-consumer_1_3_16890786057114005650_v1 NodeId=1 Got InitResponse 
2025-12-12T11:57:46.501430Z :DEBUG: [local] 0x000053477FBC6E20 TDirectReadSession ServerSessionId=DirectReadWithClient-OneMessage-test-consumer_1_3_16890786057114005650_v1 NodeId=1 SendStartRequestImpl partitionSession.State=0 delayedCall=0
2025-12-12T11:57:46.501438Z :DEBUG: [local] 0x000053477FBC6E20 TDirectReadSession ServerSessionId=DirectReadWithClient-OneMessage-test-consumer_1_3_16890786057114005650_v1 NodeId=1 SendStartRequestImpl send request start_direct_read_partition_session_request { partition_session_id: 1 generation: 1 }
2025-12-12T11:57:46.501442Z :DEBUG: [local] 0x000053477FBC6E20 TDirectReadSession ServerSessionId=DirectReadWithClient-OneMessage-test-consumer_1_3_16890786057114005650_v1 NodeId=1 XXXXX subsession send message = start_direct_read_partition_session_request { partition_session_id: 1 generation: 1 }
2025-12-12T11:57:46.501760Z :DEBUG: [local] 0x000053477FBC6E20 TDirectReadSession ServerSessionId=DirectReadWithClient-OneMessage-test-consumer_1_3_16890786057114005650_v1 NodeId=1 XXXXX subsession got message = status: SUCCESS start_direct_read_partition_session_response { partition_session_id: 1 generation: 1 }
2025-12-12T11:57:46.501771Z :DEBUG: [local] 0x000053477FBC6E20 TDirectReadSession ServerSessionId=DirectReadWithClient-OneMessage-test-consumer_1_3_16890786057114005650_v1 NodeId=1 Got StartDirectReadPartitionSessionResponse partition_session_id: 1 generation: 1
2025-12-12T11:57:46.501825Z :DEBUG: [local] 0x000053477FBC6E20 TDirectReadSession ServerSessionId=DirectReadWithClient-OneMessage-test-consumer_1_3_16890786057114005650_v1 NodeId=1 XXXXX subsession got message = DirectReadResponse partitionSessionId = 1 partitionId = 0 directReadId = 1 firstOffset = 0 lastOffset = 0
2025-12-12T11:57:46.501829Z :DEBUG: [local] 0x000053477FBC6E20 TDirectReadSession ServerSessionId=DirectReadWithClient-OneMessage-test-consumer_1_3_16890786057114005650_v1 NodeId=1 Waiting for NextDirectReadId=1. Got DirectReadResponse 1
2025-12-12T11:57:46.501905Z :DEBUG: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] [] Got ReadResponse, serverBytesSize = 181, now ReadSizeBudget = 0, ReadSizeServerDelta = 52428619
2025-12-12T11:57:46.501922Z :DEBUG: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] [] In ContinueReadingDataImpl, ReadSizeBudget = 0, ReadSizeServerDelta = 52428619
2025-12-12T11:57:46.502029Z :DEBUG: [local] Decompression task done. Partition/PartitionSessionId: 1 (0-0)
2025-12-12T11:57:46.502058Z :DEBUG: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] [] Returning serverBytesSize = 181 to budget
2025-12-12T11:57:46.502064Z :DEBUG: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] [] In ContinueReadingDataImpl, ReadSizeBudget = 181, ReadSizeServerDelta = 52428619
2025-12-12T11:57:46.502173Z :DEBUG: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] [] After sending read request: ReadSizeBudget = 0, ReadSizeServerDelta = 52428800
2025-12-12T11:57:46.502221Z :DEBUG: [local] Take Data. Partition 0. Read: {0, 0} (0-0)
2025-12-12T11:57:46.502234Z :DEBUG: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] [] The application data is transferred to the client. Number of messages 1, size 7 bytes
2025-12-12T11:57:46.502245Z :DEBUG: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] [] Returning serverBytesSize = 0 to budget
2025-12-12T11:57:46.502263Z :DEBUG: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] [] Commit offsets [0, 1). Partition stream id: 1
2025-12-12T11:57:46.503482Z :DEBUG: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] [] Committed response: { partitions_committed_offsets { partition_session_id: 1 committed_offset: 1 } }
2025-12-12T11:57:46.503580Z :INFO: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] Closing read session. Close timeout: 0.000000s
2025-12-12T11:57:46.503603Z :INFO: [local] Read/commit by partition streams (cluster:topic:partition:stream-id:read-offset:committed-offset): -:sdk_tests/DirectReadWithClient-OneMessage/test-topic:0:1:0:1
2025-12-12T11:57:46.503609Z :INFO: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] Counters: { Errors: 0 CurrentSessionLifetimeMs: 6 BytesRead: 7 MessagesRead: 1 BytesReadCompressed: 27 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:46.503624Z :NOTICE: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] Aborting read session. Description: SessionClosed { Status: ABORTED Issues: "<main>: Error: Close with zero timeout " }
2025-12-12T11:57:46.503629Z :DEBUG: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] [] Abort session to cluster
2025-12-12T11:57:46.503737Z :DEBUG: [local] 0x000053477F740510 TDirectReadSessionManager ServerSessionId=DirectReadWithClient-OneMessage-test-consumer_1_3_16890786057114005650_v1 Close
2025-12-12T11:57:46.503763Z :DEBUG: [local] 0x000053477F740510 TDirectReadSessionManager ServerSessionId=DirectReadWithClient-OneMessage-test-consumer_1_3_16890786057114005650_v1 Close
2025-12-12T11:57:46.503781Z :NOTICE: [local] [local] [59f1fffe-17182c31-e059c721-572d4f93] Aborting read session. Description: SessionClosed { Status: ABORTED Issues: "<main>: Error: Aborted " }
