Documentation
¶
Overview ¶
Package pageviews defines the page-view-counters Murmur pipeline. It's imported by both cmd/worker (streaming runtime) and cmd/query (gRPC server) so the two processes share an identical pipeline definition — the same Source/Key/Value/ Aggregate/StoreIn that streamed events get queried with.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Window = windowed.Daily(90 * 24 * time.Hour)
Window is the daily-bucket configuration shared by both binaries (otherwise the query side and the streaming side would compute different bucket IDs).
Functions ¶
Types ¶
type Config ¶
type Config struct {
KafkaBrokers string // comma-separated
KafkaTopic string
ConsumerGroup string
DDBEndpoint string // empty for real AWS; "http://localhost:8000" for dynamodb-local
DDBTable string
DDBRegion string
ValkeyAddress string // empty to disable cache layer
ValkeyKeyPrefix string
GRPCAddr string // e.g. ":50051"
}
Config bundles deployment-time settings the worker and query binaries both need.
Click to show internal directories.
Click to hide internal directories.