BewareMyPower commented on code in PR #22182:
URL: https://github.com/apache/pulsar/pull/22182#discussion_r1533178041


##########
pip/pip-344.md:
##########
@@ -0,0 +1,87 @@
+# PIP-344: Correct the behavior of the public API 
pulsarClient.getPartitionsForTopic(topicName)
+
+# Background knowledge
+
+**Topic auto-creation**
+- The partitioned topic auto-creation is dependent on 
`pulsarClient.getPartitionsForTopic`
+    - It triggers partitioned metadata creation by 
`pulsarClient.getPartitionsForTopic`
+    - And triggers the topic partition creation by producers' registration and 
consumers' registration.

Review Comment:
   So it should not be "is dependent on". "A is dependent on B" means A cannot 
work without B. The description is confusing, we can just retain the following 
sentence "When calling ..." and remove the description above, which should be 
more clear.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to