Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
스파크를 활용한 실시간 처리: 실시간 데이터 처리를 위한 고수준 스트리밍 API 마스터하기
by
김인범
,
제러드 마스
,
프랑수아 가릴로
April 2021
Beginner to intermediate
472 pages
9h 23m
Korean
Hanbit Media, Inc.
Content preview from
스파크를 활용한 실시간 처리: 실시간 데이터 처리를 위한 고수준 스트리밍 API 마스터하기
216
2
부
구조적 스트리밍
작업은
[
map
|
flatMap
]
GroupWithState
작업의 진입점이 되는 중간 구조인
KeyValueGrouped
Dataset
을 생성한다.
매핑 기능 외에도 타임아웃 유형을 제공해야 한다. 타임아웃 유형은
ProcessingTimeTimeout
또
는
EventTimeTimeout
일 수 있다. 상태 관리를 위한 이벤트 타임스탬프에 의존하지 않기 때문
에
ProcessingTimeTimeout
을 선택했다. 이 장의 뒷부분에서 시간 초과 관리에 대해 자세히
설명한다.
마지막으로 콘솔 싱크를 사용하여 쿼리 결과를 쉽게 관찰할 수 있다.
val
outQuery
=
weatherEventsMovingAverage
.
writeStream
.
format
("
console
")
.
outputMode
("
update
")
.
start
()
+
---------
+
-------------------
+
-------------------
+
------------
+
------------
+
|
stationId
|
startTime
|
endTime
|
pressureAvg
|
tempAvg
|
+
---------
+
-------------------
+
-------------------
+
------------
+
------------
+
|
d1e46a42
|
2018
-
07
-
08 19 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial
You might also like
한 권으로 끝내는 Node & Express(2판): 모던 웹을 위한 서버 사이드 자바스크립트의 모든 것
한선용, 이선 브라운
자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
조너선 슈나이더
머신러닝 디자인 패턴: 효율적인 머신러닝 파이프라인과 MLOps를 구축하는 30가지 디자인 패턴
맹윤호, 임지순, 발리아파 락슈마난, 세라 로빈슨, 마이클 먼
자바로 배우는 핵심 자료구조와 알고리즘: 기술 면접에 필요한 실용주의 자료구조와 알고리즘
유동환, 앨런 B. 다우니
Publisher Resources
ISBN: 9791162243961