This file contains hidden or 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
| #!/usr/bin/env sh | |
| # Example: ./download_minio.sh example.url.com username password bucket-name minio/path/to/file.txt.zst /download/path/to/file.txt.zst | |
| if [ -z $1 ]; then | |
| echo "You have NOT specified a MINIO URL!" | |
| exit 1 | |
| fi | |
| if [ -z $2 ]; then |
This file contains hidden or 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
| #!/usr/bin/env sh | |
| # Example: ./upload_to_minio example.url.com username password bucket-name internal/minio/path /absolute/path/file.txt.zst | |
| if [ -z $1 ]; then | |
| echo "You have NOT specified a MINIO URL!" | |
| exit 1 | |
| fi | |
| if [ -z $2 ]; then |
This file contains hidden or 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
| /* | |
| https://jwt.io/introduction/ | |
| In its compact form, JSON Web Tokens consist of three parts separated by dots (.), which are: | |
| Header | |
| Payload | |
| Signature | |
| Therefore, a JWT typically looks like the following. |
This file contains hidden or 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
| # WARNING: This docker-compose.yml is only for testing purpose. | |
| # Parameters: | |
| # - name: CONFLUENT_PLATFORM_VERSION | |
| # default: 3.0.0 | |
| # reference: https://hub.docker.com/u/confluentinc/ | |
| # Ports: | |
| # - description: Major ports are exposed to host computer | |
| # - zookeeper: 2181 | |
| # kafka1: 9091 | |
| # kafka2: 9092 |