~/talk

Migrating Apache Flink data pipelines to write to Azure Cosmos DB (Cassandra API)

Talkat Azure Cosmos DB Conf 2022 · 2022-04-19..04-20· [data-engineering, databases]
links:none on file
slides:none on file

Apache Flink + Kafka pipelines move from on‑prem Cassandra to Azure Cosmos DB Cassandra API using AKS and Java; the Flink Cassandra Sink relies on Datastax v3 unless a custom v4 connector is built. Migration uncovers SSL setup, rate‑limit failures (jobs die), and throttling by Request Units; fixes include the open‑source Cosmos Retry Policy and a constant reconnection backoff ≈2000 ms. Partitioning limits 10,000 RU per physical partition, four replicas per region, CQLSH copy for small sets and Flink jobs used in place of Spark for bulk migration.

AI-written summary · about

  1. 0:00Intro
  2. 1:11The Story Current
  3. 2:39Cosmos DB (Cassandra API)
  4. 5:04Know your DB Resource Model
  5. 6:47Get going with tools
  6. 7:35Untangle Connector APIs & SSL
  7. 11:08Dealing with Request Units (RUS) for Capacity Request Unit : Cost of De operations expressed as a performance currency abstracting the system resources such as
  8. 13:27Leveraging Insights Drill down analysis of all DB operations by time range to monitor
  9. 14:09Optimization & Error handling Handling rate limiting (429 errors)
  10. 18:42Planning for Availability Replica or node outages mitigated with 3 replica of data in each Azure region
  11. 20:02Plan Data Migration Choose based on throughput requirements & tech stack/skills.
  12. 20:32References
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.