I am facing an problem, Gcp PubSub not pushing message to my registered endpoint. Let me narrate in details the steps I have executed.
Note,
- I am not using app engine
- I am deploying my simple spring boot app on PCF (Pivotal Cloud Foundry...PaaS) hosted on GCP (IaaS)
Steps:
- 1st I have created an service account with required permission to access GCP PubSub
- Next am using this service account to create/subscribe/register my endpoint to the topic
- Next, as expected I have registered & verified my domain ownership & added my push endpoint path say https://example.com with GCP
- Deployed my app in Pcf
Test Executed:
- I am able to successfully create & subscribe the topic
- Successfully registered my push end point like https://example.com/myPushEp with the newly created topic
- Successfully able to post message to the topic.
As my push ep is registered with gcp pubsub topic so asa the message is posted it must be pushed into registered endpoint, but unfortunately it not pushing any message to the registered endpoint. I am completely clueless what is the mistake.
Can any one guide me where I am doing the mistakes. Its an simple spring boot rest application, do I am making any mistake in coding or any configuration.