Skip to main content
Ask your AI

Server sources

Server sources receive walkerOS events over HTTP or from a queue and forward them to the collector. Choose based on your deployment environment.

Available sources​

SourcePlatformUse Case
ExpressNode.jsStandalone server or existing Express app
FetchEdge/ServerlessCloudflare Workers, Vercel Edge, Deno, Bun
AWS LambdaAWSAPI Gateway, Lambda Function URLs
GCP Cloud FunctionsGoogle CloudCloud Functions HTTP triggers
AWS SQSAWSQueue consumer, decoupled ingestion
Google Pub/SubGoogle CloudPull subscriber or push webhook

Choosing a source​

Express: best for traditional Node.js deployments, Docker containers, or when you need full control over the HTTP server.

Fetch: best for edge computing and serverless platforms that support the Web Standard Fetch API.

AWS Lambda: best for AWS-native deployments with API Gateway or Lambda Function URLs.

GCP Cloud Functions: best for Google Cloud deployments using Cloud Functions.

Common features​

Server sources come in two shapes, and the shared features differ by shape.

HTTP sources (Express, Fetch, AWS Lambda, GCP Cloud Functions) receive inbound requests and all provide:

  • JSON event ingestion (POST), with one shared event envelope
  • Pixel tracking (GET with 1x1 GIF response)
  • CORS support (configurable)
  • One shared request scope, so a config.ingest mapping resolves the same on each of them

Health checks: the runtime answers /health and /ready for an Express flow, and the AWS Lambda source answers its own healthPath. Express run standalone, Fetch and GCP have none (GCP answers a GET with the pixel when pixel tracking is on).

Queue consumers (AWS SQS, Google Pub/Sub pull) read from a queue instead of serving requests. They have no HTTP surface, so none of the request-shaped features above apply, and config.ingest does not either: there is no request to adapt. Retries and dead-lettering stay with the queue.

Producer acknowledgement​

Every server source tells its producer what happened to an event from the push result, with one rule:

Push resultHTTP sourcesSQS and Pub/Sub pullPub/Sub push
Delivered, queued, skipped200ack200
Failed, a resend could fix it (retryable)500, or 207 for the failed events of a batchnack500
Failed, a resend cannot fix it200, acknowledgedack200
Invalid input400, or 207 for the invalid events of a batchack, counted as rejected400

HTTP sources answer this way when they wait for the push: Express POST does that only when POST is synchronous (async: false or { "POST": false }; its default answers 200 on receipt, see Response modes), and a GET pixel always answers 200 with the GIF.

SQS and Pub/Sub pull report an acknowledged invalid message through the rejected counter and one ERROR line per source and minute. A decoder or producer that sends messages without an event name therefore drops every message: check rejected and the log after a change.

A deterministic failure is acknowledged on purpose: resending the message would fail the same way and loop. It is visible in the destination's failed counter, its dead-letter queue and one ERROR line per cause and minute. A batched event answers queued, so the producer is acknowledged when the event is queued; a failed flush is reported but the message is not redelivered. The HTTP body never names a destination or quotes a step's error.

💡 Need implementation support?
elbwalker offers hands-on support: setup review, measurement planning, destination mapping, and live troubleshooting. Book a 2-hour session (€399)