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

     1  package topicwriterinternal
     2  
     3  import (
     4  	"time"
     5  
     6  	"github.com/jonboulle/clockwork"
     7  
     8  	"github.com/ydb-platform/ydb-go-sdk/v3/credentials"
     9  	"github.com/ydb-platform/ydb-go-sdk/v3/internal/grpcwrapper/rawtopic/rawtopiccommon"
    10  	"github.com/ydb-platform/ydb-go-sdk/v3/internal/grpcwrapper/rawtopic/rawtopicwriter"
    11  	"github.com/ydb-platform/ydb-go-sdk/v3/trace"
    12  )
    13  
    14  type WritersCommonConfig struct {
    15  	producerID          string
    16  	topic               string
    17  	writerMeta          map[string]string
    18  	defaultPartitioning rawtopicwriter.Partitioning
    19  	compressorCount     int
    20  
    21  	tracer             *trace.Topic
    22  	cred               credentials.Credentials
    23  	credUpdateInterval time.Duration
    24  	clock              clockwork.Clock
    25  	forceCodec         rawtopiccommon.Codec
    26  }