问题
I have received an email from Google stating "We are writing to let you know that the JSON-RPC and Global HTTP batch endpoints will be deprecated on March 26, 2018", and that the "HTTP Global batch endpoint" is in use in one of my projects.
However I have no code in that project which directly uses the http batch endpoint. I presume some google library I am using is calling it indirectly, so my question is: how can I figure out which library needs updating, and how can I know when I have managed to resolve the issue?
I use primarily Google Dataflow (v2.3.0), including the TextIO.Write method (java) to write files, and the BigQueryIO method to import data into BigQuery. Could either of those be the problem?
回答1:
The email you received should have explicitly listed both the project id and the API(s) called from that project which will be impacted by the deprecation.
If you received a follow up email with a project id listed but with blank columns titled 'API called' and 'JSON-RPC or Global HTTP Batch Endpoint?', you can safely ignore the email.
If you received something different can you please share the text, redacting any personal information?
Google Dataflow is not directly impacted by this deprecation but it does hit the batch endpoint under the hood. The Dataflow team is aware and will be releasing an updated SDK in due course.
Thanks!
来源:https://stackoverflow.com/questions/49549969/migrate-off-global-http-batch-endpoints-indirect-usage