Salesforce Platform Event Sink Connector - pub/sub API

Hi All,

Wanted to understand if Salesforce Platform Event Sink Connector uses Salesforce platform event REST API to publish events or it uses the new gRPC pub/sub API? Is there any documentation which can give these details?

How does sink connector ensures/guarantee the events are published in Salesforce PE bus?