2025-12-12T11:57:17.389785Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:17.389995Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:17.394537Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:17.394578Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:17.394661Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:17.402166Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:17.402203Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540637402 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:17.402236Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: session_id: "test-message_group_id|ec8a8ab6-c101cdd1-8839c66b-7c64c8ff_0"
2025-12-12T11:57:17.402241Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ec8a8ab6-c101cdd1-8839c66b-7c64c8ff_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:17.402269Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ec8a8ab6-c101cdd1-8839c66b-7c64c8ff_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:17.402315Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ec8a8ab6-c101cdd1-8839c66b-7c64c8ff_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:17.403795Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ec8a8ab6-c101cdd1-8839c66b-7c64c8ff_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:17.403805Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ec8a8ab6-c101cdd1-8839c66b-7c64c8ff_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:17.403810Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ec8a8ab6-c101cdd1-8839c66b-7c64c8ff_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:17.404086Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ec8a8ab6-c101cdd1-8839c66b-7c64c8ff_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:17.404243Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ec8a8ab6-c101cdd1-8839c66b-7c64c8ff_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:17.404277Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ec8a8ab6-c101cdd1-8839c66b-7c64c8ff_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:17.404388Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ec8a8ab6-c101cdd1-8839c66b-7c64c8ff_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:17.411065Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ec8a8ab6-c101cdd1-8839c66b-7c64c8ff_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:17.411114Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ec8a8ab6-c101cdd1-8839c66b-7c64c8ff_0]  PartitionId [0]  Generation [1] Write session established. Init response: session_id: "test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0"
2025-12-12T11:57:17.411120Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:17.411187Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
2025-12-12T11:57:17.411227Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 2 to 2
2025-12-12T11:57:17.411241Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:17.411337Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:17.411351Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0]  PartitionId [0]  Generation [1] Send 1 message(s) (1 left), first sequence number is 1
2025-12-12T11:57:17.411999Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:17.412012Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 2
2025-12-12T11:57:17.412950Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:17.412990Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 1 written { } } write_statistics { persisting_time { } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:17.412995Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:17.412999Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:17.413821Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:17.413852Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 2 written { offset: 1 } } 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:17.413858Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0]  PartitionId [0]  Generation [1] OnAck: seqNo=2, txId=?
2025-12-12T11:57:17.413861Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 2
2025-12-12T11:57:17.511341Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:17.511383Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:17.511754Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
2025-12-12T11:57:17.511772Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:17.511785Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:57:17.511802Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ab19951-d432834b-e59a20b5-6060dc97_0]  PartitionId [0]  Generation [1] Write session: destroy
2025-12-12T11:57:17.512110Z :INFO: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] Starting read session
2025-12-12T11:57:17.512132Z :DEBUG: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] Starting single session
2025-12-12T11:57:17.512340Z :DEBUG: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] [] In Reconnect, ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-12-12T11:57:17.512346Z :DEBUG: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] [] New values: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-12-12T11:57:17.512351Z :DEBUG: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] [] Reconnecting session to cluster  in 0.000000s
2025-12-12T11:57:17.512567Z :DEBUG: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] [] Successfully connected. Initializing session
2025-12-12T11:57:17.513478Z :INFO: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] [] Got InitResponse. ReadSessionId: BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset-test-consumer_1_13_2898910286222464093_v1
2025-12-12T11:57:17.513495Z :DEBUG: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] [] In ContinueReadingDataImpl, ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-12-12T11:57:17.513568Z :DEBUG: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] [] After sending read request: ReadSizeBudget = 0, ReadSizeServerDelta = 52428800
2025-12-12T11:57:17.514943Z :INFO: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] [] Confirm partition stream create. Partition stream id: 1. Cluster: "-". Topic: "sdk_tests/BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset/test-topic". Partition: 0. Read offset: 1. Commit offset: 1
2025-12-12T11:57:17.515040Z :DEBUG: [local] 0x00005287FF74FC10 TDirectReadSessionManager ServerSessionId=BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset-test-consumer_1_13_2898910286222464093_v1 StartPartitionSession 1 nodeId=1
2025-12-12T11:57:17.515061Z :DEBUG: [local] 0x00005287FF602C20 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset-test-consumer_1_13_2898910286222464093_v1 NodeId=1 Reconnecting direct read session to node 1 in 0.000000s
2025-12-12T11:57:17.515226Z :DEBUG: [local] 0x00005287FF602C20 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset-test-consumer_1_13_2898910286222464093_v1 NodeId=1 AddPartitionSession 1
2025-12-12T11:57:17.515233Z :DEBUG: [local] 0x00005287FF602C20 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset-test-consumer_1_13_2898910286222464093_v1 NodeId=1 SendStartRequestImpl partitionSession.State=0 delayedCall=0
2025-12-12T11:57:17.515237Z :DEBUG: [local] 0x00005287FF602C20 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset-test-consumer_1_13_2898910286222464093_v1 NodeId=1 SendStartRequestImpl bail out 1
2025-12-12T11:57:17.515266Z :DEBUG: [local] 0x00005287FF602C20 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset-test-consumer_1_13_2898910286222464093_v1 NodeId=1 Successfully connected. Initializing session
2025-12-12T11:57:17.515315Z :DEBUG: [local] 0x00005287FF602C20 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset-test-consumer_1_13_2898910286222464093_v1 NodeId=1 XXXXX subsession send message = init_request { session_id: "BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset-test-consumer_1_13_2898910286222464093_v1" topics_read_settings { path: "sdk_tests/BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset/test-topic" } consumer: "BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset-test-consumer" }
2025-12-12T11:57:17.515913Z :DEBUG: [local] 0x00005287FF602C20 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset-test-consumer_1_13_2898910286222464093_v1 NodeId=1 XXXXX subsession got message = status: SUCCESS init_response { }
2025-12-12T11:57:17.515926Z :DEBUG: [local] 0x00005287FF602C20 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset-test-consumer_1_13_2898910286222464093_v1 NodeId=1 Got InitResponse 
2025-12-12T11:57:17.515929Z :DEBUG: [local] 0x00005287FF602C20 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset-test-consumer_1_13_2898910286222464093_v1 NodeId=1 SendStartRequestImpl partitionSession.State=0 delayedCall=0
2025-12-12T11:57:17.515941Z :DEBUG: [local] 0x00005287FF602C20 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset-test-consumer_1_13_2898910286222464093_v1 NodeId=1 SendStartRequestImpl send request start_direct_read_partition_session_request { partition_session_id: 1 generation: 1 }
2025-12-12T11:57:17.515946Z :DEBUG: [local] 0x00005287FF602C20 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset-test-consumer_1_13_2898910286222464093_v1 NodeId=1 XXXXX subsession send message = start_direct_read_partition_session_request { partition_session_id: 1 generation: 1 }
2025-12-12T11:57:17.516352Z :DEBUG: [local] 0x00005287FF602C20 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset-test-consumer_1_13_2898910286222464093_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:17.516365Z :DEBUG: [local] 0x00005287FF602C20 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset-test-consumer_1_13_2898910286222464093_v1 NodeId=1 Got StartDirectReadPartitionSessionResponse partition_session_id: 1 generation: 1
2025-12-12T11:57:17.516413Z :DEBUG: [local] 0x00005287FF602C20 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset-test-consumer_1_13_2898910286222464093_v1 NodeId=1 XXXXX subsession got message = DirectReadResponse partitionSessionId = 1 partitionId = 0 directReadId = 1 firstOffset = 1 lastOffset = 1
2025-12-12T11:57:17.516418Z :DEBUG: [local] 0x00005287FF602C20 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset-test-consumer_1_13_2898910286222464093_v1 NodeId=1 Waiting for NextDirectReadId=1. Got DirectReadResponse 1
2025-12-12T11:57:17.516518Z :DEBUG: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] [] Got ReadResponse, serverBytesSize = 181, now ReadSizeBudget = 0, ReadSizeServerDelta = 52428619
2025-12-12T11:57:17.516543Z :DEBUG: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] [] In ContinueReadingDataImpl, ReadSizeBudget = 0, ReadSizeServerDelta = 52428619
2025-12-12T11:57:17.516649Z :DEBUG: [local] Decompression task done. Partition/PartitionSessionId: 1 (1-1)
2025-12-12T11:57:17.516673Z :DEBUG: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] [] Returning serverBytesSize = 181 to budget
2025-12-12T11:57:17.516679Z :DEBUG: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] [] In ContinueReadingDataImpl, ReadSizeBudget = 181, ReadSizeServerDelta = 52428619
2025-12-12T11:57:17.516848Z :DEBUG: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] [] After sending read request: ReadSizeBudget = 0, ReadSizeServerDelta = 52428800
2025-12-12T11:57:17.516906Z :DEBUG: [local] Take Data. Partition 0. Read: {0, 0} (1-1)
2025-12-12T11:57:17.516925Z :DEBUG: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] [] The application data is transferred to the client. Number of messages 1, size 7 bytes
2025-12-12T11:57:17.516933Z :DEBUG: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] [] Returning serverBytesSize = 0 to budget
2025-12-12T11:57:17.516949Z :DEBUG: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] [] Commit offsets [1, 2). Partition stream id: 1
2025-12-12T11:57:17.518242Z :DEBUG: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] [] Committed response: { partitions_committed_offsets { partition_session_id: 1 committed_offset: 2 } }
2025-12-12T11:57:17.518343Z :INFO: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] Closing read session. Close timeout: 0.000000s
2025-12-12T11:57:17.518356Z :INFO: [local] Read/commit by partition streams (cluster:topic:partition:stream-id:read-offset:committed-offset): -:sdk_tests/BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset/test-topic:0:1:1:2
2025-12-12T11:57:17.518365Z :INFO: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] Counters: { Errors: 0 CurrentSessionLifetimeMs: 6 BytesRead: 7 MessagesRead: 1 BytesReadCompressed: 27 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:17.518385Z :NOTICE: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] Aborting read session. Description: SessionClosed { Status: ABORTED Issues: "<main>: Error: Close with zero timeout " }
2025-12-12T11:57:17.518391Z :DEBUG: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] [] Abort session to cluster
2025-12-12T11:57:17.518513Z :DEBUG: [local] 0x00005287FF74FC10 TDirectReadSessionManager ServerSessionId=BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset-test-consumer_1_13_2898910286222464093_v1 Close
2025-12-12T11:57:17.518536Z :DEBUG: [local] 0x00005287FF74FC10 TDirectReadSessionManager ServerSessionId=BasicUsage-DirectRead_ConfirmPartitionSessionWithCommitOffset-test-consumer_1_13_2898910286222464093_v1 Close
2025-12-12T11:57:17.518546Z :NOTICE: [local] [local] [6834210c-39601db7-7f7f21bb-a6c63b01] Aborting read session. Description: SessionClosed { Status: ABORTED Issues: "<main>: Error: Aborted " }
