Skip to content

Commit 5f0a7d6

Browse files
authored
[docs] Fix method name to DeduplicationEnabled (#8759)
1 parent c07ddf8 commit 5f0a7d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ydb/docs/en/core/reference/ydb-sdk/topic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ If no ProducerId is specified on write session setup, the session runs in no-ded
758758
auto session = topicClient.CreateWriteSession(settings);
759759
```
760760

761-
If, on other hand, you want to ensure deduplication is enabled, you can specify the ProducerId option or call the `EnableDeduplication()` method from WriteSessionSettings. The '[Connecting to a topic for message writes](#start-writer)' section has an example of write session that has deduplication enabled.
761+
If, on other hand, you want to ensure deduplication is enabled, you can specify the ProducerId option or call the `DeduplicationEnabled()` method from WriteSessionSettings. The '[Connecting to a topic for message writes](#start-writer)' section has an example of write session that has deduplication enabled.
762762

763763
{% endlist %}
764764

ydb/docs/ru/core/reference/ydb-sdk/topic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@
758758
auto session = topicClient.CreateWriteSession(settings);
759759
```
760760

761-
Для включения дедупликации нужно в настройках сессии записи указать опцию `ProducerId` или явно включить дедупликацию, вызвав метод `EnableDeduplication()`, например, как в секции ["Подключение к топику"](#start-writer).
761+
Для включения дедупликации нужно в настройках сессии записи указать опцию `ProducerId` или явно включить дедупликацию, вызвав метод `DeduplicationEnabled()`, например, как в секции ["Подключение к топику"](#start-writer).
762762

763763
{% endlist %}
764764

0 commit comments

Comments
 (0)