2025-12-12T11:55:33.348369Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0] Write session: try to update token
2025-12-12T11:55:33.348574Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:55:33.348630Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:55:33.355819Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:55:33.355842Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:55:33.355850Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:55:33.356126Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:55:33.356163Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/TxUsageQuery-DirectRead_WriteToTopic_Demo_26/topic_A" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:55:33.356302Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:55:33.365119Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:55:33.365148Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540533365 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:55:33.365175Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session established. Init response: session_id: "test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0"
2025-12-12T11:55:33.365239Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
2025-12-12T11:55:33.365263Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:55:33.365268Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 1
2025-12-12T11:55:33.370237Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 2 to 2
2025-12-12T11:55:33.370258Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:55:33.370262Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 2
2025-12-12T11:55:33.370267Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 3 to 3
2025-12-12T11:55:33.370269Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:55:33.370271Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 3
2025-12-12T11:55:33.376322Z :INFO: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] Starting read session
2025-12-12T11:55:33.376337Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] Starting single session
2025-12-12T11:55:33.376574Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] In Reconnect, ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-12-12T11:55:33.376580Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] New values: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-12-12T11:55:33.376585Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] Reconnecting session to cluster  in 0.000000s
2025-12-12T11:55:33.376766Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] Successfully connected. Initializing session
2025-12-12T11:55:33.377822Z :INFO: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] Got InitResponse. ReadSessionId: TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer_1_19_6737260271954318306_v1
2025-12-12T11:55:33.377853Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] In ContinueReadingDataImpl, ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-12-12T11:55:33.377964Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] After sending read request: ReadSizeBudget = 0, ReadSizeServerDelta = 52428800
2025-12-12T11:55:33.378060Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:55:33.378116Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_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 { nanos: 6000000 } max_queue_wait_time { nanos: 6000000 } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:55:33.378123Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:55:33.378129Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:55:33.378633Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:55:33.378667Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_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 { nanos: 1000000 } max_queue_wait_time { nanos: 1000000 } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:55:33.378672Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] OnAck: seqNo=2, txId=?
2025-12-12T11:55:33.378676Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 2
2025-12-12T11:55:33.378717Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:55:33.378731Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 3 written { offset: 2 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { nanos: 1000000 } max_queue_wait_time { nanos: 1000000 } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:55:33.378734Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] OnAck: seqNo=3, txId=?
2025-12-12T11:55:33.378740Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 3
2025-12-12T11:55:33.379256Z :INFO: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] Confirm partition stream create. Partition stream id: 1. Cluster: "-". Topic: "sdk_tests/TxUsageQuery-DirectRead_WriteToTopic_Demo_26/topic_A". Partition: 0. Read offset: (NULL)
2025-12-12T11:55:33.379348Z :DEBUG: [local] 0x00001393BF748710 TDirectReadSessionManager ServerSessionId=TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer_1_19_6737260271954318306_v1 StartPartitionSession 1 nodeId=1
2025-12-12T11:55:33.379368Z :DEBUG: [local] 0x00001393BFBC1620 TDirectReadSession ServerSessionId=TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer_1_19_6737260271954318306_v1 NodeId=1 Reconnecting direct read session to node 1 in 0.000000s
2025-12-12T11:55:33.379503Z :DEBUG: [local] 0x00001393BFBC1620 TDirectReadSession ServerSessionId=TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer_1_19_6737260271954318306_v1 NodeId=1 AddPartitionSession 1
2025-12-12T11:55:33.379508Z :DEBUG: [local] 0x00001393BFBC1620 TDirectReadSession ServerSessionId=TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer_1_19_6737260271954318306_v1 NodeId=1 SendStartRequestImpl partitionSession.State=0 delayedCall=0
2025-12-12T11:55:33.379511Z :DEBUG: [local] 0x00001393BFBC1620 TDirectReadSession ServerSessionId=TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer_1_19_6737260271954318306_v1 NodeId=1 SendStartRequestImpl bail out 1
2025-12-12T11:55:33.379538Z :DEBUG: [local] 0x00001393BFBC1620 TDirectReadSession ServerSessionId=TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer_1_19_6737260271954318306_v1 NodeId=1 Successfully connected. Initializing session
2025-12-12T11:55:33.379571Z :DEBUG: [local] 0x00001393BFBC1620 TDirectReadSession ServerSessionId=TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer_1_19_6737260271954318306_v1 NodeId=1 XXXXX subsession send message = init_request { session_id: "TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer_1_19_6737260271954318306_v1" topics_read_settings { path: "sdk_tests/TxUsageQuery-DirectRead_WriteToTopic_Demo_26/topic_A" } consumer: "TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer" }
2025-12-12T11:55:33.381048Z :DEBUG: [local] 0x00001393BFBC1620 TDirectReadSession ServerSessionId=TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer_1_19_6737260271954318306_v1 NodeId=1 XXXXX subsession got message = status: SUCCESS init_response { }
2025-12-12T11:55:33.381060Z :DEBUG: [local] 0x00001393BFBC1620 TDirectReadSession ServerSessionId=TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer_1_19_6737260271954318306_v1 NodeId=1 Got InitResponse 
2025-12-12T11:55:33.381064Z :DEBUG: [local] 0x00001393BFBC1620 TDirectReadSession ServerSessionId=TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer_1_19_6737260271954318306_v1 NodeId=1 SendStartRequestImpl partitionSession.State=0 delayedCall=0
2025-12-12T11:55:33.381086Z :DEBUG: [local] 0x00001393BFBC1620 TDirectReadSession ServerSessionId=TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer_1_19_6737260271954318306_v1 NodeId=1 SendStartRequestImpl send request start_direct_read_partition_session_request { partition_session_id: 1 generation: 1 }
2025-12-12T11:55:33.381093Z :DEBUG: [local] 0x00001393BFBC1620 TDirectReadSession ServerSessionId=TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer_1_19_6737260271954318306_v1 NodeId=1 XXXXX subsession send message = start_direct_read_partition_session_request { partition_session_id: 1 generation: 1 }
2025-12-12T11:55:33.381540Z :DEBUG: [local] 0x00001393BFBC1620 TDirectReadSession ServerSessionId=TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer_1_19_6737260271954318306_v1 NodeId=1 XXXXX subsession got message = status: SUCCESS start_direct_read_partition_session_response { partition_session_id: 1 generation: 1 }
2025-12-12T11:55:33.471830Z :DEBUG: [local] 0x00001393BFBC1620 TDirectReadSession ServerSessionId=TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer_1_19_6737260271954318306_v1 NodeId=1 Got StartDirectReadPartitionSessionResponse partition_session_id: 1 generation: 1
2025-12-12T11:55:33.472036Z :DEBUG: [local] 0x00001393BFBC1620 TDirectReadSession ServerSessionId=TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer_1_19_6737260271954318306_v1 NodeId=1 XXXXX subsession got message = DirectReadResponse partitionSessionId = 1 partitionId = 0 directReadId = 1 firstOffset = 0 lastOffset = 2
2025-12-12T11:55:33.472045Z :DEBUG: [local] 0x00001393BFBC1620 TDirectReadSession ServerSessionId=TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer_1_19_6737260271954318306_v1 NodeId=1 Waiting for NextDirectReadId=1. Got DirectReadResponse 1
2025-12-12T11:55:33.472231Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] Got ReadResponse, serverBytesSize = 457, now ReadSizeBudget = 0, ReadSizeServerDelta = 52428343
2025-12-12T11:55:33.472272Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] In ContinueReadingDataImpl, ReadSizeBudget = 0, ReadSizeServerDelta = 52428343
2025-12-12T11:55:33.472326Z :DEBUG: [local] Decompression task done. Partition/PartitionSessionId: 1 (0-2)
2025-12-12T11:55:33.472360Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] Returning serverBytesSize = 457 to budget
2025-12-12T11:55:33.472366Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] In ContinueReadingDataImpl, ReadSizeBudget = 457, ReadSizeServerDelta = 52428343
2025-12-12T11:55:33.472511Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] After sending read request: ReadSizeBudget = 0, ReadSizeServerDelta = 52428800
2025-12-12T11:55:33.472570Z :DEBUG: [local] Take Data. Partition 0. Read: {0, 0} (0-0)
2025-12-12T11:55:33.472583Z :DEBUG: [local] Take Data. Partition 0. Read: {1, 0} (1-1)
2025-12-12T11:55:33.472587Z :DEBUG: [local] Take Data. Partition 0. Read: {1, 1} (2-2)
2025-12-12T11:55:33.472606Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] The application data is transferred to the client. Number of messages 3, size 30 bytes
2025-12-12T11:55:33.472612Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] Returning serverBytesSize = 0 to budget
0 3
2025-12-12T11:55:34.377361Z :INFO: [local] Read/commit by partition streams (cluster:topic:partition:stream-id:read-offset:committed-offset): -:sdk_tests/TxUsageQuery-DirectRead_WriteToTopic_Demo_26/topic_A:0:1:2:0
2025-12-12T11:55:34.377390Z :INFO: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1001 BytesRead: 30 MessagesRead: 3 BytesReadCompressed: 30 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:55:35.376403Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] OnWrite: seqNo=4, txId={ydb://session/3?node_id=1&id=NzRmNzMxNDktMjAxY2UwMGItYmExYWFjNzQtMWEwMTNkYzE=, 01kc96n53z4786wvge745f5wj4}, WriteCount=1, AckCount=0
2025-12-12T11:55:35.376429Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 4 to 4
2025-12-12T11:55:35.376457Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:55:35.376464Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 4
2025-12-12T11:55:35.376671Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] OnWrite: seqNo=5, txId={ydb://session/3?node_id=1&id=NzRmNzMxNDktMjAxY2UwMGItYmExYWFjNzQtMWEwMTNkYzE=, 01kc96n53z4786wvge745f5wj4}, WriteCount=2, AckCount=0
2025-12-12T11:55:35.376677Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 5 to 5
2025-12-12T11:55:35.376683Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:55:35.376687Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 5
2025-12-12T11:55:35.376736Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] OnWrite: seqNo=6, txId={ydb://session/3?node_id=1&id=NzRmNzMxNDktMjAxY2UwMGItYmExYWFjNzQtMWEwMTNkYzE=, 01kc96n53z4786wvge745f5wj4}, WriteCount=3, AckCount=0
2025-12-12T11:55:35.376742Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 6 to 6
2025-12-12T11:55:35.376747Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:55:35.376749Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 6
2025-12-12T11:55:35.395604Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:55:35.395666Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 4 written_in_tx { } } write_statistics { persisting_time { } min_queue_wait_time { nanos: 14000000 } max_queue_wait_time { nanos: 14000000 } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:55:35.395680Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] OnAck: seqNo=4, txId={ydb://session/3?node_id=1&id=NzRmNzMxNDktMjAxY2UwMGItYmExYWFjNzQtMWEwMTNkYzE=, 01kc96n53z4786wvge745f5wj4}, WriteCount=3, AckCount=1
2025-12-12T11:55:35.395685Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 4
2025-12-12T11:55:35.396517Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:55:35.396559Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 5 written_in_tx { } } write_statistics { persisting_time { nanos: 2000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:55:35.396568Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] OnAck: seqNo=5, txId={ydb://session/3?node_id=1&id=NzRmNzMxNDktMjAxY2UwMGItYmExYWFjNzQtMWEwMTNkYzE=, 01kc96n53z4786wvge745f5wj4}, WriteCount=3, AckCount=2
2025-12-12T11:55:35.396572Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 5
2025-12-12T11:55:35.396707Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:55:35.396723Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 6 written_in_tx { } } write_statistics { persisting_time { nanos: 2000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:55:35.396728Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] OnAck: seqNo=6, txId={ydb://session/3?node_id=1&id=NzRmNzMxNDktMjAxY2UwMGItYmExYWFjNzQtMWEwMTNkYzE=, 01kc96n53z4786wvge745f5wj4}, WriteCount=3, AckCount=3
2025-12-12T11:55:35.396731Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 6
2025-12-12T11:55:35.481061Z :DEBUG: [local] 0x00001393BFBC1620 TDirectReadSession ServerSessionId=TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer_1_19_6737260271954318306_v1 NodeId=1 XXXXX subsession got message = DirectReadResponse partitionSessionId = 1 partitionId = 0 directReadId = 2 firstOffset = 3 lastOffset = 5
2025-12-12T11:55:35.481091Z :DEBUG: [local] 0x00001393BFBC1620 TDirectReadSession ServerSessionId=TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer_1_19_6737260271954318306_v1 NodeId=1 Waiting for NextDirectReadId=2. Got DirectReadResponse 2
2025-12-12T11:55:35.481252Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] Got ReadResponse, serverBytesSize = 457, now ReadSizeBudget = 0, ReadSizeServerDelta = 52428343
2025-12-12T11:55:35.481278Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] In ContinueReadingDataImpl, ReadSizeBudget = 0, ReadSizeServerDelta = 52428343
2025-12-12T11:55:35.481323Z :DEBUG: [local] Decompression task done. Partition/PartitionSessionId: 1 (3-5)
2025-12-12T11:55:35.481349Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] Returning serverBytesSize = 457 to budget
2025-12-12T11:55:35.481356Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] In ContinueReadingDataImpl, ReadSizeBudget = 457, ReadSizeServerDelta = 52428343
2025-12-12T11:55:35.481484Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] After sending read request: ReadSizeBudget = 0, ReadSizeServerDelta = 52428800
2025-12-12T11:55:35.481541Z :DEBUG: [local] Take Data. Partition 0. Read: {0, 0} (3-3)
2025-12-12T11:55:35.481553Z :DEBUG: [local] Take Data. Partition 0. Read: {1, 0} (4-4)
2025-12-12T11:55:35.481559Z :DEBUG: [local] Take Data. Partition 0. Read: {1, 1} (5-5)
2025-12-12T11:55:35.481571Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] The application data is transferred to the client. Number of messages 3, size 30 bytes
2025-12-12T11:55:35.481579Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] Returning serverBytesSize = 0 to budget
0 3
2025-12-12T11:55:35.481601Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] Commit offsets [3, 6). Partition stream id: 1
2025-12-12T11:55:37.480965Z :INFO: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] Closing read session. Close timeout: 0.000000s
2025-12-12T11:55:37.480994Z :INFO: [local] Read/commit by partition streams (cluster:topic:partition:stream-id:read-offset:committed-offset): -:sdk_tests/TxUsageQuery-DirectRead_WriteToTopic_Demo_26/topic_A:0:1:5:0
2025-12-12T11:55:37.481008Z :INFO: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] Counters: { Errors: 0 CurrentSessionLifetimeMs: 4104 BytesRead: 60 MessagesRead: 6 BytesReadCompressed: 60 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:55:37.481042Z :NOTICE: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] Aborting read session. Description: SessionClosed { Status: ABORTED Issues: "<main>: Error: Close with zero timeout " }
2025-12-12T11:55:37.481053Z :DEBUG: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] [] Abort session to cluster
2025-12-12T11:55:37.481282Z :DEBUG: [local] 0x00001393BF748710 TDirectReadSessionManager ServerSessionId=TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer_1_19_6737260271954318306_v1 Close
2025-12-12T11:55:37.481316Z :DEBUG: [local] 0x00001393BF748710 TDirectReadSessionManager ServerSessionId=TxUsageQuery-DirectRead_WriteToTopic_Demo_26-test-consumer_1_19_6737260271954318306_v1 Close
2025-12-12T11:55:37.481332Z :NOTICE: [local] [local] [29ed4c46-fec68aee-d032730a-fe9fde8f] Aborting read session. Description: SessionClosed { Status: ABORTED Issues: "<main>: Error: Aborted " }
2025-12-12T11:55:37.481670Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 0.000000s
2025-12-12T11:55:37.481678Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:55:37.481684Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:55:37.481848Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
2025-12-12T11:55:37.481861Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:55:37.481888Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:55:37.481914Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de6fff45-2cbbd7f7-97818ae3-b8e8a270_0]  PartitionId [0]  Generation [1] Write session: destroy
