Skip to content

Commit 680a5d4

Browse files
committed
Update argument names
1 parent 0c40857 commit 680a5d4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

topic/src/main/java/tech/ydb/topic/TopicClient.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,12 @@ default CompletableFuture<Result<TopicDescription>> describeTopic(String path) {
9999
* Describe consumer.
100100
*
101101
* Receives consumer description.
102-
* @param path path to topic
103-
* @param name consumer name
102+
* @param topicPath path to topic
103+
* @param consumerName consumer name
104104
* @param settings additional options of request
105105
* @return {@link CompletableFuture} to a result with {@link ConsumerDescription}
106106
*/
107-
CompletableFuture<Result<ConsumerDescription>> describeConsumer(String path, String name,
107+
CompletableFuture<Result<ConsumerDescription>> describeConsumer(String topicPath, String consumerName,
108108
DescribeConsumerSettings settings);
109109

110110
/**

topic/src/main/java/tech/ydb/topic/impl/TopicClientImpl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,12 @@ public CompletableFuture<Result<TopicDescription>> describeTopic(String path, De
243243

244244
@Override
245245
public CompletableFuture<Result<ConsumerDescription>> describeConsumer(
246-
String path, String name, DescribeConsumerSettings settings
246+
String topicPath, String consumerName, DescribeConsumerSettings settings
247247
) {
248248
YdbTopic.DescribeConsumerRequest request = YdbTopic.DescribeConsumerRequest.newBuilder()
249249
.setOperationParams(Operation.buildParams(settings))
250-
.setPath(path)
251-
.setConsumer(name)
250+
.setPath(topicPath)
251+
.setConsumer(consumerName)
252252
.setIncludeStats(settings.isIncludeStats())
253253
.setIncludeLocation(settings.isIncludeLocation())
254254
.build();

0 commit comments

Comments
 (0)