I hereby claim:
- I am omnifroodle on github.
- I am omnifroodle (https://keybase.io/omnifroodle) on keybase.
- I have a public key ASB6s7c05WNgmytiCcEfmGgyH3p2A3OG05X2U8PKdr4Dowo
To claim this, I am signing this object:
set shell=bash |
# Fish git prompt | |
set __fish_git_prompt_showdirtystate 'yes' | |
set __fish_git_prompt_showstashstate 'yes' | |
set __fish_git_prompt_showupstream 'yes' | |
set __fish_git_prompt_color_branch yellow | |
# Status Chars | |
set __fish_git_prompt_char_dirtystate '✎ ' | |
set __fish_git_prompt_char_stagedstate '☑ ' | |
set __fish_git_prompt_char_stashstate '☄ ' |
I hereby claim:
To claim this, I am signing this object:
from cassandra.cluster import Cluster | |
from cassandra.policies import RoundRobinPolicy | |
from locust import Locust, events, task, TaskSet | |
import time | |
class CassandraClient(object): | |
def __init__(self, host): |
git clone https://github.com/Yolean/kubernetes-kafka.git
cd kubernetes-kafka
kubectl apply -f ./configure/docker-storageclass-broker.yml
So you heard about this awesome new hosted Cassandra and wanted to kick the tires? But after setting up your favorite stack you realize that the secure connect bundle from Astra doesn’t seem to plug in anywhere. Suddenly easy doesn’t seem so easy anymore.
I’m going to walk you through one example of how you can connect an older CQL library to Astra. In this case we’ll be using Flask and CQLAlchemy. CQLAlchemy has something of a following in the Flask/Cassandra world but hasn’t seen an update in a while.
First, unzip the secure bundle you downloaded from Astra. You should see something like this:
$ ls secure-connect