Skip to content

Instantly share code, notes, and snippets.

@adilfulara
adilfulara / envoy.yaml
Last active November 26, 2024 01:39
HTTPBin - Enable Compression Filter
static_resources:
listeners:
- name: listener_0
address:
socket_address:
address: 0.0.0.0
port_value: 10000
filter_chains:
- filters:
- name: envoy.filters.network.http_connection_manager
@Test
public void testTableInsert() {
String query = "create table test.user (username text primary key,first text, last text);";
session.execute(query);
Insert insert = QueryBuilder
.insertInto(KEYSPACE_NAME, TABLE_NAME)
.value("username", "jdoe")
.value("first", "John")