github.com/ydb-platform/ydb-go-sdk/v3@v3.57.0/internal/topic/topicwriterinternal/public_callbacks.go (about)

     1  package topicwriterinternal
     2  
     3  import "github.com/ydb-platform/ydb-go-sdk/v3/topic/topictypes"
     4  
     5  type PublicWithOnWriterConnectedInfo struct {
     6  	LastSeqNo        int64
     7  	SessionID        string
     8  	PartitionID      int64
     9  	CodecsFromServer []topictypes.Codec
    10  	AllowedCodecs    []topictypes.Codec // Intersection between codecs from server and codecs, supported by writer
    11  }
    12  
    13  type PublicOnWriterInitResponseCallback func(info PublicWithOnWriterConnectedInfo) error