Package ai.chalk.flink.examples
Class ChalkUploadFeaturesJob
java.lang.Object
ai.chalk.flink.examples.ChalkUploadFeaturesJob
Minimal end-to-end example: build a stream of records and push them into Chalk's online store via
upload_features. Run against a real environment with credentials in the environment:
export CHALK_CLIENT_ID=... export CHALK_CLIENT_SECRET=... export CHALK_ENVIRONMENT_ID=... # optional; defaults to the token's primary environment flink run -c ai.chalk.flink.examples.ChalkUploadFeaturesJob build/libs/chalk-flink-sink-0.1.0.jarSwap
fromElements for a real source (Kafka, Kinesis, ...); everything downstream is the
same. The only requirement on the converter is that each row include the resolver's primary-key
feature (user.id here).-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classExample event flowing through the pipeline. -
Method Summary
-
Method Details
-
main
- Throws:
Exception
-