Last active
July 28, 2022 03:41
-
-
Save garystafford/ce10767f1d82ffdf094cfe86b53c42f6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws emr-serverless start-job-run \ | |
--application-id <your_application_id> \ | |
--execution-role-arn <your_execution_role_arn> \ | |
--name 03-example-kafka \ | |
--job-driver '{ | |
"sparkSubmit": { | |
"entryPoint": "s3://<your_s3_bucket>/scripts/03_example_kafka.py", | |
"entryPointArguments": [ | |
"--bootstrap_servers=<your_bootstrap_server>" | |
], | |
"sparkSubmitParameters": "--conf spark.jars=s3://<your_s3_bucket>/jars/*.jar" | |
} | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment