Improving the Reliability of Market Data Subscription Feeds With Ruchir Vani | Current 2022
Nasdaq Cloud Data Service has democratized access to financial data not only for companies but also for researchers and educators. When providing data feeds as a subscription service, there is no out of the box standard for subscribers’ Kafka client configurations or system designs. As you might imagine, ensuing optimal performance with an endless variety of clients comes with many challenges such as:
Preventing Client Side Data Loss
Performance Inefficiencies
Client Recovery
Data Feed Discovery
Schema Management
In this talk we will discuss those challenges and introduce the Nasdaq Cloud Data Service SDK, an Open Source library for Kafka Consumers that tackles these issues and allows for uniform resilience, performance and operations among varied client configurations.
https://github.com/Nasdaq/NasdaqCloudDataService-SDK-Java
4. Market Data Feeds
Nasdaq & Data Distribution
Multicast/UDP
Gap Filling
Colocation
FPGA
Proprietary Protocols
Market Data Feeds
sub-15 µ second latency
5. Capturing More Market Share
• Ease of use, ease of access
• Time to market/value
• Rise of new open standards
• Accessibility of open-source technologies
• Cloud native solution
Nasdaq & Data Distribution
6. Nasdaq Data Link Streaming
Efficient Delivery of Real-time Market Data in the Cloud
Products
Proprietary data
Partner data
Alternative data
Capabilities
Accessible over public cloud
Streaming data & analytics
Real-time & historical data
Open-source SDK
7. Scope & Scale
Nasdaq Data Link Streaming
Products
Sizes
Spikes
Volume
Storage
250+ Datasets & Analytics
1-800kb messages
1-300 M messages/second
100’s-6B messages/day
PB’s
9. Architecture
Nasdaq Data Link Streaming
Public Cloud
Historic Data Store Monitoring, Alerting
Nasdaq Data Centers
Exchange Data Feed
Feed Adapter Data Stream Analytics Stream Processing Engine
3rd
Party
Data Feed
AuthN/AuthZ
Streaming/Rest APIs
SDK
Containers & Orchestration
10. Architecture
Nasdaq Data Link Streaming
Public Cloud
Historic Data Store Ops — Logging,
Monitoring, Alerting
Nasdaq Data Centers
Exchange Data Feed
Feed Adapter Data Stream Analytics Stream Processing Engine
3rd
Party
Data Feed
AuthN/AuthZ
Streaming/Rest APIs
SDK
Containers & Orchestration
• 50+ Kafka brokers
• 100+ Topics
• 200+ Consumers
11.
12. Why Kafka
Guaranteed Order
Data Protection
Scalability
Heterogenous Feeds
Nasdaq Data Link Streaming
Single Partition Topics
Replicas Set
Horizontally Scale Cluster
Topics
18. Oauth Handler
Security Standards
Java Kafka client oauth handler classes
Set following properties in config files
oauth.token.endpoint.uri=
oauth.client.id=
oauth.client.secret=
NasdaqDataLink nasdaqDataLink =
new
NasdaqDataLink(securityCfg,kafkaConf
ig);
Nasdaq Data Link Configuration