PoC Azure Function using protobuf generated server / client via Twirp

  • By Rick Winfrey
  • Last update: Jun 18, 2022
  • Comments: 0

Azure Function and Protobuf using Twirp PoC

This is a demo app as a PoC to work with Azure Functions and protobufs via Twirp.

Setup

This PoC uses a Makefile to build the executables. The binaries are written to the bin/ directory.

cd poc-azure-function-twirp
make

Azure Core Tools are also required.

Run

Run the Azure Function runtime and event listener (this implicitly runs the bin/server binary):

cd poc-azure-function-twirp
func start [--verbose]

In a new terminal session run the binary that issues Twirp requests:

cd poc-azure-function-twirp
bin/runner

If everything is working as intended the expected output is:

bin/runner
Hello World

Download

poc-azure-function-twirp.zip