Documentation
¶
Overview ¶
Lambda binary for the search-projector example. Tails a Murmur counter table via DDB Streams and projects bucket transitions into OpenSearch.
Build (Lambda runs the `provided.al2` runtime):
GOOS=linux GOARCH=arm64 go build -tags lambda.norpc \
-o bootstrap ./examples/search-projector/cmd/projector
zip lambda.zip bootstrap
Configure the event-source mapping with:
StreamViewType = NEW_AND_OLD_IMAGES (both images required) FunctionResponseTypes = [ReportBatchItemFailures] BatchSize = 100..1000
Environment:
OPENSEARCH_ENDPOINT — https://your-domain.us-east-1.es.amazonaws.com OPENSEARCH_INDEX — target index, e.g. "posts" OPENSEARCH_FIELD — field name (default: popularity_bucket) HYSTERESIS — fractional band, e.g. "0.10" (default: 0)
Click to show internal directories.
Click to hide internal directories.