Example on how to run locally an AWS Lambda via API Gateway using localstack.
Based on...
/** | |
MIT License | |
Copyright (c) 2016 Igor Ivanovic | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
# first: mkdir user && cd user && cp /path/to/get_gists.py . | |
# python3 get_gists.py user | |
import requests | |
import sys | |
from subprocess import call | |
user = sys.argv[1] | |
r = requests.get('https://api.github.com/users/{0}/gists'.format(user)) |
Example on how to run locally an AWS Lambda via API Gateway using localstack.
Based on...
https://docs.spring.io/spring-boot/docs/current/reference/html/appendix-application-properties.html spring.kafka prefixed properties
Key | Default Value | Description |
---|---|---|
spring.kafka.admin.client-id | ID to pass to the server when making requests. Used for server-side logging. | |
spring.kafka.admin.fail-fast | false | Whether to fail fast if the broker is not available on startup. |
spring.kafka.admin.properties.* | Additional admin-specific properties used to configure the client. | |
spring.kafka.admin.ssl.key-password | Password of the private key in the key store file. | |
spring.kafka.admin.ssl.key-store-location | Location of the key store file. |