[ 
https://issues.apache.org/jira/browse/BEAM-8376?focusedWorklogId=593061&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-593061
 ]

ASF GitHub Bot logged work on BEAM-8376:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/May/21 23:18
            Start Date: 06/May/21 23:18
    Worklog Time Spent: 10m 
      Work Description: BenWhitehead commented on a change in pull request 
#14261:
URL: https://github.com/apache/beam/pull/14261#discussion_r627824595



##########
File path: 
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/firestore/RpcQosImpl.java
##########
@@ -204,7 +210,8 @@ public boolean awaitSafeToProceed(Instant instant) throws 
InterruptedException {
       state.checkActive();
       Duration shouldThrottleRequest = at.shouldThrottleRequest(instant);
       if (shouldThrottleRequest.compareTo(Duration.ZERO) > 0) {
-        logger.info("Delaying request by {}ms", 
shouldThrottleRequest.getMillis());
+        long throttleRequestMillis = shouldThrottleRequest.getMillis();
+        logger.debug("Delaying request by {}ms", throttleRequestMillis);

Review comment:
       I dropped it to debug after adding the diagnostic distribution 
`qos_adaptiveThrottler_throttlingMs` so as not to blow out logs as this 
scenario can happen thousands of times for a job.
   
   This screenshot shows the average number of times the adaptive throttler 
throttled grouped by docCount and fieldCount.
   
   
![image](https://user-images.githubusercontent.com/1754037/117376687-ad922000-ae9f-11eb-814f-95263cacd598.png)
    




-- 
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.

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


Issue Time Tracking
-------------------

    Worklog Id:     (was: 593061)
    Time Spent: 24h 20m  (was: 24h 10m)

> Add FirestoreIO connector to Java SDK
> -------------------------------------
>
>                 Key: BEAM-8376
>                 URL: https://issues.apache.org/jira/browse/BEAM-8376
>             Project: Beam
>          Issue Type: New Feature
>          Components: io-java-gcp
>            Reporter: Stefan Djelekar
>            Priority: P3
>          Time Spent: 24h 20m
>  Remaining Estimate: 0h
>
> Motivation:
> There is no Firestore connector for Java SDK at the moment.
> Having it will enhance the integrations with database options on the Google 
> Cloud Platform.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to