Skip to content

Sample project to get started with the Pub/Sub API

License

Notifications You must be signed in to change notification settings

forcedotcom/pub-sub-api

Repository files navigation

Getting Started with the Pub/Sub API

Welcome to the Pub/Sub API Pilot! This repo contains the critical proto file that you will need to use the API. Refer to the pilot guide on how to use it. There is also a Python example app in this repo (InventoryAppExample directory); please read the README carefully.

gRPC officially supports 11 languages, but there is unofficial community support in more. To encode and decode events, an Avro library for your language of choice will be needed. See below for which officially supported languages have well-supported Avro libraries:

Supported gRPC Language Avro Libraries
C# AvroConvert
Apache Avro C# (docs are not great)
C++ Apache Avro C++
Dart avro-dart (last updated 2012)
Go goavro
Java Apache Avro Java
Kotlin avro4k
Node avro-js
Objective C ObjectiveAvro (but read this)
PHP avro-php
Python Apache Avro Python
Ruby AvroTurf