参考資料
- Pub/Sub との統合
https://cloud.google.com/run/docs/tutorials/pubsub#cloud-run-on-gke) - Authentication and authorization by the push endpoint
https://cloud.google.com/pubsub/docs/push#authentication_and_authorization_by_the_push_endpoint - 署名付きヘッダーによるアプリの保護
https://cloud.google.com/iap/docs/signed-headers-howto#verifying_the_jwt_header - Validating service accounts (Cloud Run for Anthos on Google Cloud)
https://cloud.google.com/run/docs/triggering/pubsub-push#validating_service_accounts - Using push subscriptions, Cloud Pub/Sub
https://cloud.google.com/pubsub/docs/push#java - cloudrun, GoogleCloudPlatform/java-docs-samples, Github
https://github.com/GoogleCloudPlatform/java-docs-samples/tree/master/run/pubsub/src/main/java/com/example/cloudrun - cloudrun/Body.java, GoogleCloudPlatform/java-docs-samples, Github
https://github.com/GoogleCloudPlatform/java-docs-samples/tree/master/run/pubsub/src/main/java/com/example/cloudrun/Body.java - appengine/pubsub/Message.java, GoogleCloudPlatform/java-docs-samples, Github
https://github.com/GoogleCloudPlatform/java-docs-samples/blob/master/appengine-java8/pubsub/src/main/java/com/example/appengine/pubsub/Message.java - appengine/pubsub/PubSubAuthenticatedPush.java, GoogleCloudPlatform/java-docs-samples, Github
https://github.com/GoogleCloudPlatform/java-docs-samples/blob/master/appengine-java8/pubsub/src/main/java/com/example/appengine/pubsub/PubSubAuthenticatedPush.java - QUARKUS - WRITING JSON REST SERVICES
https://quarkus.io/guides/rest-json
参考資料 pubsub messageの中身
- 新しいカスタム属性, メッセージのパブリッシュ, Cloud Pub/Sub
https://cloud.google.com/pubsub/docs/publisher#config
参考資料 Quarkus JWT
- QUARKUS - USING JWT RBAC
https://quarkus.io/guides/security-jwt - QUARKUS - USING THE REST CLIENT
https://quarkus.io/guides/rest-client - QUARKUS - WRITING JSON REST SERVICES
https://quarkus.io/guides/rest-json - quarkusio/quarkus-quickstarts, Github
https://github.com/quarkusio/quarkus-quickstarts