Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moved internal clients into internal/client package #896

Closed
wants to merge 4 commits into from

Conversation

asmyasnikov
Copy link
Member

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Other information

@codecov-commenter
Copy link

codecov-commenter commented Nov 19, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (3c08fa3) 66.85% compared to head (e76509c) 66.69%.
Report is 2 commits behind head on master.

Files Patch % Lines
sugar/params_go1.18.go 33.33% 2 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #896      +/-   ##
==========================================
- Coverage   66.85%   66.69%   -0.17%     
==========================================
  Files         258      258              
  Lines       24527    24529       +2     
==========================================
- Hits        16397    16359      -38     
- Misses       7288     7320      +32     
- Partials      842      850       +8     
Flag Coverage Δ
53.39% <85.18%> (-0.17%) ⬇️
go-1.17.x 65.02% <100.00%> (-0.23%) ⬇️
go-1.20.x 66.47% <92.30%> (-0.15%) ⬇️
go-1.21.x 66.39% <92.30%> (-0.29%) ⬇️
integration 53.39% <85.18%> (-0.17%) ⬇️
macOS 38.83% <47.82%> (-0.01%) ⬇️
ubuntu 38.86% <47.82%> (-0.01%) ⬇️
unit 38.95% <47.82%> (+<0.01%) ⬆️
windows 38.89% <47.82%> (-0.03%) ⬇️
ydb-22.5 53.12% <85.18%> (-0.14%) ⬇️
ydb-23.1 53.14% <85.18%> (+0.03%) ⬆️
ydb-23.2 52.87% <85.18%> (-0.39%) ⬇️
ydb-23.3 52.18% <95.83%> (-0.67%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Nov 19, 2023

github.com/ydb-platform/ydb-go-sdk/v3

incompatible changes

WithRatelimiterOptions: changed from func(...github.com/ydb-platform/ydb-go-sdk/v3/internal/ratelimiter/config.Option) Option to func(...github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/ratelimiterImpl/config.Option) Option
WithTableConfigOption: changed from func(github.com/ydb-platform/ydb-go-sdk/v3/internal/table/config.Option) Option to func(github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/tableImpl/config.Option) Option

github.com/ydb-platform/ydb-go-sdk/v3/ratelimiter

incompatible changes

Client.AcquireResource: changed from func(context.Context, string, string, uint64, ...github.com/ydb-platform/ydb-go-sdk/v3/internal/ratelimiter/options.AcquireOption) error to func(context.Context, string, string, uint64, ...github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/ratelimiterImpl/options.AcquireOption) error
WithAcquire: changed from func() github.com/ydb-platform/ydb-go-sdk/v3/internal/ratelimiter/options.AcquireOption to func() github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/ratelimiterImpl/options.AcquireOption
WithOperationCancelAfter: changed from func(time.Duration) github.com/ydb-platform/ydb-go-sdk/v3/internal/ratelimiter/options.AcquireOption to func(time.Duration) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/ratelimiterImpl/options.AcquireOption
WithOperationTimeout: changed from func(time.Duration) github.com/ydb-platform/ydb-go-sdk/v3/internal/ratelimiter/options.AcquireOption to func(time.Duration) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/ratelimiterImpl/options.AcquireOption
WithReport: changed from func() github.com/ydb-platform/ydb-go-sdk/v3/internal/ratelimiter/options.AcquireOption to func() github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/ratelimiterImpl/options.AcquireOption

github.com/ydb-platform/ydb-go-sdk/v3/testutil

incompatible changes

NewTopicReaderMessageBuilder: changed from func() *github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicMessageBuilder to func() *github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicMessageBuilder
TopicReaderMessageBuilder: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicMessageBuilder to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicMessageBuilder

github.com/ydb-platform/ydb-go-sdk/v3/topic

incompatible changes

Client.StartReader: changed from func(string, github.com/ydb-platform/ydb-go-sdk/v3/topic/topicoptions.ReadSelectors, ...github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption) (*github.com/ydb-platform/ydb-go-sdk/v3/topic/topicreader.Reader, error) to func(string, github.com/ydb-platform/ydb-go-sdk/v3/topic/topicoptions.ReadSelectors, ...github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption) (*github.com/ydb-platform/ydb-go-sdk/v3/topic/topicreader.Reader, error)
Client.StartWriter: changed from func(string, ...github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption) (*github.com/ydb-platform/ydb-go-sdk/v3/topic/topicwriter.Writer, error) to func(string, ...github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption) (*github.com/ydb-platform/ydb-go-sdk/v3/topic/topicwriter.Writer, error)

github.com/ydb-platform/ydb-go-sdk/v3/topic/topicoptions

incompatible changes

CheckErrorRetryArgs: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic.PublicCheckErrorRetryArgs to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl.PublicCheckErrorRetryArgs
CheckErrorRetryDecisionDefault: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic.PublicCheckRetryResult to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl.PublicCheckRetryResult
CheckErrorRetryDecisionRetry: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic.PublicCheckRetryResult to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl.PublicCheckRetryResult
CheckErrorRetryDecisionStop: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic.PublicCheckRetryResult to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl.PublicCheckRetryResult
CheckErrorRetryFunction: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic.PublicCheckErrorRetryFunction to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl.PublicCheckErrorRetryFunction
CheckErrorRetryResult: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic.PublicCheckRetryResult to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl.PublicCheckRetryResult
CommitMode: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicCommitMode to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicCommitMode
CommitModeAsync: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicCommitMode to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicCommitMode
CommitModeNone: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicCommitMode to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicCommitMode
CommitModeSync: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicCommitMode to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicCommitMode
CreateDecoderFunc: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicCreateDecoderFunc to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicCreateDecoderFunc
CreateEncoderFunc: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicCreateEncoderFunc to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicCreateEncoderFunc
GetPartitionStartOffsetFunc: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicGetPartitionStartOffsetFunc to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicGetPartitionStartOffsetFunc
GetPartitionStartOffsetRequest: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicGetPartitionStartOffsetRequest to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicGetPartitionStartOffsetRequest
GetPartitionStartOffsetResponse: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicGetPartitionStartOffsetResponse to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicGetPartitionStartOffsetResponse
OnWriterInitResponseCallback: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicOnWriterInitResponseCallback to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicOnWriterInitResponseCallback
ReadSelector: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReadSelector to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReadSelector
ReadSelectors: changed from []github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReadSelector to []github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReadSelector
ReaderOption: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption
TopicOption: changed from func(*github.com/ydb-platform/ydb-go-sdk/v3/internal/topic.Config) to func(*github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl.Config)
WithAddDecoder: changed from func(github.com/ydb-platform/ydb-go-sdk/v3/topic/topictypes.Codec, github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicCreateDecoderFunc) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption to func(github.com/ydb-platform/ydb-go-sdk/v3/topic/topictypes.Codec, github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicCreateDecoderFunc) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption
WithBatchReadMaxCount: changed from func(int) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption to func(int) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption
WithBatchReadMinCount: changed from func(int) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption to func(int) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption
WithCodec: changed from func(github.com/ydb-platform/ydb-go-sdk/v3/topic/topictypes.Codec) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func(github.com/ydb-platform/ydb-go-sdk/v3/topic/topictypes.Codec) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WithCodecAutoSelect: changed from func() github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func() github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WithCommitCountTrigger: changed from func(int) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption to func(int) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption
WithCommitMode: changed from func(github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicCommitMode) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption to func(github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicCommitMode) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption
WithCommitTimeLagTrigger: changed from func(time.Duration) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption to func(time.Duration) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption
WithCommonConfig: changed from func(github.com/ydb-platform/ydb-go-sdk/v3/internal/config.Common) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption to func(github.com/ydb-platform/ydb-go-sdk/v3/internal/config.Common) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption
WithGetPartitionStartOffset: changed from func(github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicGetPartitionStartOffsetFunc) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption to func(github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicGetPartitionStartOffsetFunc) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption
WithMessagesBufferSize: changed from func(int) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption to func(int) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption
WithOnWriterConnectedInfo: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWithOnWriterConnectedInfo to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWithOnWriterConnectedInfo
WithOnWriterFirstConnected: changed from func(github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicOnWriterInitResponseCallback) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func(github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicOnWriterInitResponseCallback) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WithPartitionID: changed from func(int64) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func(int64) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WithProducerID: changed from func(string) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func(string) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WithReaderBatchMaxCount: changed from func(int) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption to func(int) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption
WithReaderBufferSizeBytes: changed from func(int) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption to func(int) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption
WithReaderCheckRetryErrorFunction: changed from func(github.com/ydb-platform/ydb-go-sdk/v3/internal/topic.PublicCheckErrorRetryFunction) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption to func(github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl.PublicCheckErrorRetryFunction) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption
WithReaderCommitCountTrigger: changed from func(int) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption to func(int) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption
WithReaderCommitMode: changed from func(github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicCommitMode) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption to func(github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicCommitMode) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption
WithReaderCommitTimeLagTrigger: changed from func(time.Duration) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption to func(time.Duration) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption
WithReaderGetPartitionStartOffset: changed from func(github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicGetPartitionStartOffsetFunc) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption to func(github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicGetPartitionStartOffsetFunc) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption
WithReaderOperationCancelAfter: changed from func(time.Duration) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption to func(time.Duration) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption
WithReaderOperationTimeout: changed from func(time.Duration) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption to func(time.Duration) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption
WithReaderStartTimeout: changed from func(time.Duration) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption to func(time.Duration) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption
WithReaderTrace: changed from func(github.com/ydb-platform/ydb-go-sdk/v3/trace.Topic) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption to func(github.com/ydb-platform/ydb-go-sdk/v3/trace.Topic) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption
WithReaderUpdateTokenInterval: changed from func(time.Duration) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReaderOption to func(time.Duration) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReaderOption
WithSyncWrite: changed from func(bool) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func(bool) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WithWriteSessionMeta: changed from func(map[string]string) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func(map[string]string) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WithWriterAddEncoder: changed from func(github.com/ydb-platform/ydb-go-sdk/v3/topic/topictypes.Codec, github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicCreateEncoderFunc) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func(github.com/ydb-platform/ydb-go-sdk/v3/topic/topictypes.Codec, github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicCreateEncoderFunc) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WithWriterCheckRetryErrorFunction: changed from func(github.com/ydb-platform/ydb-go-sdk/v3/internal/topic.PublicCheckErrorRetryFunction) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func(github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl.PublicCheckErrorRetryFunction) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WithWriterCodec: changed from func(github.com/ydb-platform/ydb-go-sdk/v3/topic/topictypes.Codec) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func(github.com/ydb-platform/ydb-go-sdk/v3/topic/topictypes.Codec) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WithWriterCodecAutoSelect: changed from func() github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func() github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WithWriterCompressorCount: changed from func(int) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func(int) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WithWriterMaxQueueLen: changed from func(int) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func(int) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WithWriterMessageMaxBytesSize: changed from func(int) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func(int) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WithWriterPartitionID: changed from func(int64) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func(int64) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WithWriterProducerID: changed from func(string) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func(string) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WithWriterSessionMeta: changed from func(map[string]string) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func(map[string]string) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WithWriterSetAutoCreatedAt: changed from func(bool) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func(bool) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WithWriterSetAutoSeqNo: changed from func(bool) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func(bool) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WithWriterStartTimeout: changed from func(time.Duration) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func(time.Duration) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WithWriterTrace: changed from func(github.com/ydb-platform/ydb-go-sdk/v3/trace.Topic) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func(github.com/ydb-platform/ydb-go-sdk/v3/trace.Topic) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WithWriterUpdateTokenInterval: changed from func(time.Duration) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func(time.Duration) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WithWriterWaitServerAck: changed from func(bool) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to func(bool) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption
WriterOption: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.PublicWriterOption to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.PublicWriterOption

github.com/ydb-platform/ydb-go-sdk/v3/topic/topicreader

incompatible changes

(*Reader).Commit: changed from func(context.Context, github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicCommitRangeGetter) error to func(context.Context, github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicCommitRangeGetter) error
(*Reader).ReadMessage: changed from func(context.Context) (*github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicMessage, error) to func(context.Context) (*github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicMessage, error)
(*Reader).ReadMessageBatch: changed from func(context.Context, ...github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReadBatchOption) (*github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicBatch, error) to func(context.Context, ...github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReadBatchOption) (*github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicBatch, error)
(*Reader).ReadMessagesBatch: changed from func(context.Context, ...github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReadBatchOption) (*github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicBatch, error) to func(context.Context, ...github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReadBatchOption) (*github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicBatch, error)
Batch: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicBatch to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicBatch
CommitRangeGetter: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicCommitRangeGetter to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicCommitRangeGetter
Message: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicMessage to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicMessage
MessageContentUnmarshaler: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicMessageContentUnmarshaler to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicMessageContentUnmarshaler
NewReader: changed from func(github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.Reader) *Reader to func(github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.Reader) *Reader
ReadBatchOption: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicReadBatchOption to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicReadBatchOption
WithBatchMaxCount.Apply: changed from func(github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.ReadMessageBatchOptions) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.ReadMessageBatchOptions to func(github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.ReadMessageBatchOptions) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.ReadMessageBatchOptions
WithBatchPreferMinCount.Apply: changed from func(github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.ReadMessageBatchOptions) github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.ReadMessageBatchOptions to func(github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.ReadMessageBatchOptions) github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.ReadMessageBatchOptions

github.com/ydb-platform/ydb-go-sdk/v3/topic/topicsugar

incompatible changes

JSONUnmarshal: changed from func(*github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicMessage, interface{}) error to func(*github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicMessage, interface{}) error
ProtoUnmarshal: changed from func(*github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicMessage, google.golang.org/protobuf/reflect/protoreflect.ProtoMessage) error to func(*github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicMessage, google.golang.org/protobuf/reflect/protoreflect.ProtoMessage) error
ReadMessageDataWithCallback: changed from func(*github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicMessage, func(data []byte) error) error to func(*github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicMessage, func(data []byte) error) error
UnmarshalMessageWith: changed from func(*github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal.PublicMessage, UnmarshalFunc, interface{}) error to func(*github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicreaderinternal.PublicMessage, UnmarshalFunc, interface{}) error

github.com/ydb-platform/ydb-go-sdk/v3/topic/topicwriter

incompatible changes

(*Writer).Write: changed from func(context.Context, ...github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.Message) error to func(context.Context, ...github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.Message) error
Message: changed from github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.Message to github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.Message
NewWriter: changed from func(*github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicwriterinternal.Writer) *Writer to func(*github.com/ydb-platform/ydb-go-sdk/v3/internal/clients/topicImpl/topicwriterinternal.Writer) *Writer

summary

Base version: v3.54.3-0.20231115182119-3c08fa394e44 (master)
Cannot suggest a release version.
Can only suggest a release version when compared against the most recent version of this major: v3.54.2.

Copy link

🌋 Here are results of SLO test for Go SDK native:

Grafana Dashboard

SLO-native

Copy link

🌋 Here are results of SLO test for Go SDK database/sql:

Grafana Dashboard

SLO-databasesql

Copy link

🌋 Here are results of SLO test for Go SDK gorm:

Grafana Dashboard

SLO-gorm

Copy link

🌋 Here are results of SLO test for Go SDK xorm:

Grafana Dashboard

SLO-xorm

@asmyasnikov asmyasnikov closed this Mar 5, 2024
@asmyasnikov asmyasnikov deleted the client branch March 5, 2024 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants