rabbit-slide-kenhys-osc2024-online-spring-fluentd 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: ba79dd2320172489be274e875c33ec87112ac3eabef91f6d867d2dd3e217f131
4
+ data.tar.gz: eafb675309a9d8a619e06c906e14e2e016e5378ab66467c95afb5428ba5ab18b
5
+ SHA512:
6
+ metadata.gz: 221ebf4be31c1d1c3ccf1e84225a9e952ee6feaddf447f28f5d4b69a2ce0196174d5456190dbda6ba1026c2fdf7fc04659c108fa39680cca85e1d7e0dcfe6601
7
+ data.tar.gz: ae0af6018775a7051cf3252443156d014f911f0d5e7fedc8c29b40276fc321e6ba16167be7cb57ea632efcd28edeb5a82dcbd464e9412353680d849e04dcbada
data/.rabbit ADDED
@@ -0,0 +1,2 @@
1
+ --size 1920,1080
2
+ osc2024-online-spring-fluentd.md
data/README.md ADDED
@@ -0,0 +1,15 @@
1
+ # Fluentd Update – Fluentdとパッケージの最新動向について
2
+
3
+ Open Source Conference 2024 Online/Spring slide.
4
+
5
+ ## How to show
6
+
7
+ % rabbit
8
+
9
+ ## How to install
10
+
11
+ % gem install rabbit-slide-kenhys-osc2024-online-spring-fluentd
12
+
13
+ ## How to create PDF
14
+
15
+ % rake pdf
data/Rakefile ADDED
@@ -0,0 +1,23 @@
1
+ require "rabbit/task/slide"
2
+
3
+ # Edit ./config.yaml to customize meta data
4
+
5
+ spec = nil
6
+ Rabbit::Task::Slide.new do |task|
7
+ spec = task.spec
8
+ # spec.files += Dir.glob("doc/**/*.*")
9
+ # spec.files -= Dir.glob("private/**/*.*")
10
+ # spec.add_runtime_dependency("rabbit-theme-YOUR-THEME")
11
+ end
12
+
13
+ desc "Tag #{spec.version}"
14
+ task :tag do
15
+ sh("git", "tag", "-a", spec.version.to_s, "-m", "Publish #{spec.version}")
16
+ sh("git", "push", "--tags")
17
+ end
18
+
19
+ desc "Generate fluent-package scheduled lifecycle chart"
20
+ task :chart do
21
+ sh("npx", "mmdc", "-t", "default", "-i",
22
+ "images/fluent-package-scheduled-lifecycle.mmd", "-o", "images/fluent-package-scheduled-lifecycle.png")
23
+ end
data/config.yaml ADDED
@@ -0,0 +1,23 @@
1
+ ---
2
+ id: osc2024-online-spring-fluentd
3
+ base_name: osc2024-online-spring-fluentd
4
+ tags: [fluentd, fluent-package, clear-code]
5
+ presentation_date:
6
+ presentation_start_time:
7
+ presentation_end_time:
8
+ version: 1.0.0
9
+ licenses: [Apache-2.0]
10
+ slideshare_id:
11
+ speaker_deck_id:
12
+ vimeo_id:
13
+ youtube_id:
14
+ source_code_uri: "https://gitlab.com/clear-code/fluentd-support-common"
15
+ width: 1920
16
+ height: 1080
17
+ author:
18
+ markup_language: :md
19
+ name: Kentaro Hayashi
20
+ email: hayashi@clear-code.com
21
+ rubygems_user: kenhys
22
+ slideshare_user:
23
+ speaker_deck_user:
Binary file
Binary file
Binary file
Binary file
Binary file
data/images/icon.png ADDED
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,397 @@
1
+ # Fluentd Update
2
+
3
+ subtitle
4
+ : Fluentdとパッケージの最新動向について
5
+
6
+ author
7
+ : Kentaro Hayashi, Daijiro Fukuda
8
+
9
+ institution
10
+ : Fluentd Project
11
+
12
+ content-source
13
+ : Open Source Conference 2024 Online/Spring
14
+
15
+ date
16
+ : 2024-03-01
17
+
18
+ allotted-time
19
+ : 40m
20
+
21
+ theme
22
+ : .
23
+
24
+ # 自己紹介
25
+
26
+ * Fluentdプロジェクトのメンテナー
27
+
28
+ ![](images/how-active.png)
29
+
30
+ {:.center}
31
+
32
+ {::note}<https://github.com/fluent/fluentd/graphs/contributors?from=2022-01-01&to=2024-02-21&type=c>{:/note}
33
+ {::note}<https://github.com/fluent/fluent-package-builder/graphs/contributors?from=2022-01-01&to=2024-02-21&type=c>{:/note}
34
+
35
+ # 今回の発表内容
36
+
37
+ * Fluentdとは
38
+ * OSC2022 Online/Spring以降のできごと
39
+ * Fluent Package LTSとは
40
+ * Fluentd開発の最新トピック
41
+
42
+ # 今回の発表内容
43
+
44
+ * **Fluentdとは**
45
+ * OSC2022 Online/Spring以降のできごと
46
+ * Fluent Package LTSとは
47
+ * Fluentd開発の最新トピック
48
+
49
+ # Fluentdとは
50
+
51
+ > Fluentd is an open source data collector that unifies data collection and consumption.
52
+
53
+ {::comment}
54
+ See https://raw.githubusercontent.com/fluent/fluentd-docs-gitbook/1.0/images/logo/Fluentd_icon_square.png
55
+ {:/comment}
56
+
57
+ ![](images/Fluentd_icon_square.png){:relative-width="20"}
58
+
59
+ # Fluentdのないログ収集の世界
60
+
61
+ {::comment}
62
+ See https://raw.githubusercontent.com/fluent/fluentd-website/master/public/images/fluentd-before.png
63
+ {:/comment}
64
+
65
+ ![](images/fluentd-before.png){:relative-width="55"}
66
+
67
+ ## Slide properties
68
+
69
+ enable-title-on-image
70
+ : false
71
+
72
+ # Fluentdのあるログ収集の世界
73
+
74
+ {::comment}
75
+ See https://raw.githubusercontent.com/fluent/fluentd-website/master/public/images/fluentd-architecture.png
76
+ {:/comment}
77
+
78
+ ![](images/fluentd-architecture.png){:relative-width="100"}
79
+
80
+ ## Slide properties
81
+
82
+ enable-title-on-image
83
+ : false
84
+
85
+ # Fluentdを選ぶ理由
86
+
87
+ * Flexibility
88
+ * Scalability
89
+ * Open source and community
90
+
91
+ # Flexibility
92
+
93
+ * 1000以上のプラグインを利用可能
94
+ * プラグインを組み合わせることで
95
+ 様々な用途に利用可能
96
+ * カスタムプラグインで拡張可能
97
+
98
+ # プラグインは随時追加されていく
99
+
100
+ * {::note}<https://www.fluentd.org/plugins/all>{:/note}
101
+ * 定期的にプラグインのリストを更新中
102
+ * 2/末時点で1164プラグイン
103
+ {::note}直近2023/10以降だけでも+10増えた{:/note}
104
+
105
+ ```
106
+ Refs: [master], {upstream/master}
107
+ Author: ashie <ashie@users.noreply.github.com>
108
+ AuthorDate: Mon Feb 12 14:13:34 2024 +0000
109
+ Commit: ashie <ashie@users.noreply.github.com>
110
+ CommitDate: Mon Feb 12 14:13:34 2024 +0000
111
+
112
+ Update plugins.json
113
+
114
+ added plugins:
115
+ * fluent-plugin-kafka-status
116
+ ```
117
+
118
+ # Scalability
119
+
120
+ ![](images/scaling.png){:relative-width="75"}
121
+
122
+ ## Slide properties
123
+
124
+ enable-title-on-image
125
+ : false
126
+
127
+ # Open source and community
128
+
129
+ * 開発へ参加できるよ
130
+ * プラグインがコミュニティでメンテナンスされている
131
+ * <https://github.com/fluent-plugins-nursery>
132
+
133
+ # 今回の発表内容
134
+
135
+ * Fluentdとは
136
+ * **OSC2022 Online/Spring以降のできごと**
137
+ * Fluent Package LTSとは
138
+ * Fluentd開発の最新トピック
139
+
140
+ # OSC2022での発表(1)
141
+
142
+ ![](images/osc2022-presentation1.png){:relative-height="90"}
143
+
144
+ {::note}<https://slide.rabbit-shocker.org/authors/kenhys/osc2022-online-spring-fluentd/>{:/note}
145
+
146
+ # OSSを継続的にメンテナンスしていく仕組みづくり (OSC2022)
147
+
148
+ * パッケージをリリースするための仕組みを整備
149
+ * プラグインを引き取る仕組みの紹介
150
+ * よいフィードバックをもらうために工夫したことの紹介
151
+
152
+ # OSC2022での発表(2)
153
+
154
+ ![](images/osc2022-presentation2.png){:relative-height="90"}
155
+
156
+ {::note}<https://slide.rabbit-shocker.org/authors/ashie/osc2022-online-spring-fluentd/>{:/note}
157
+
158
+ # Fluentdの最新情報 (OSC2022)
159
+
160
+ * 開発体制の変化
161
+ * v1.12〜v1.14のリリース内容の紹介
162
+ * 最新情報の入手方法を案内
163
+ * 今後の課題について
164
+
165
+ # 当時の発表内容のその後(1)
166
+
167
+ * フィードバックをもらう工夫としてGitHub Issue Templateを整備
168
+ * ⇨サポートに必要な情報をもらいやすくなった😀
169
+ {::note}定型的な項目を記入して報告してくれる世界{:/note}
170
+
171
+ # 当時の発表内容のその後(2)
172
+
173
+ * GitHub Discussionsでのコミュニティサポート
174
+ * 自由記入欄なので最初から必要な前提条件を共有してもらいにくい😞
175
+ * わかっている人でないと相互の助け合いがしにくい
176
+ * ⇨ GitHub DiscussionsのQ&Aにフォームテンプレートを導入
177
+
178
+ # Issue/Discussion テンプレート
179
+
180
+ ![](images/github-template.png){:relative-width="86"}
181
+
182
+ {::comment}
183
+ relative-widthの値によって画像に枠線が入ってしまう。86なら入らない。
184
+ {:/comment}
185
+
186
+ # 当時の発表内容のその後(3)
187
+
188
+ * td-agentの名前を変更するかも
189
+ * ⇨**fluent-package**に変更しました!
190
+ * LTS版を提供するかも
191
+ * ⇨fluent-packageのLTS版提供をはじめました
192
+
193
+ # 当時の発表内容のその後(4)
194
+
195
+ * v1.15系のリリース
196
+ * YAML形式の設定ファイルを許容
197
+ * out_fileの書き込み処理競合を修正
198
+ * v1.16系のリリース
199
+ * in_tailの不具合修正
200
+ * 強制電源断等によるファイル破損への対応の強化
201
+
202
+ # Open Source Summit Japan 2023での発表
203
+
204
+ ![](images/ossummitjapan2023-presentation.png){:relative-height="80"}
205
+
206
+ {::note}<https://slide.rabbit-shocker.org/authors/daipom/open-source-summit-japan-2023-fluent-package/>{:/note}
207
+
208
+ # OSSummit Open Source Summit Japan 2023での発表(2)
209
+
210
+ * Fluent Package LTSの紹介
211
+ * アップグレードするときの注意事項案内
212
+ * 主要な変更点の紹介
213
+
214
+ # 今回の発表内容
215
+
216
+ * Fluentdとは
217
+ * OSC2022 Online/Spring以降のできごと
218
+ * **Fluent Package LTSとは**
219
+ * Fluentd開発の最新トピック
220
+
221
+ # Fluent Package LTS
222
+
223
+ * 2023年8月にv5としてリリース
224
+ * td-agent v4の後継パッケージ
225
+ * 2023年12月にtd-agent v4.xはサポート終了
226
+ {::note}<https://www.fluentd.org/blog/schedule-for-td-agent-4-eol>{:/note}
227
+ * 長期の安定運用におすすめ
228
+ * セキュリティー、バグフィックスのみ
229
+ * サポート期間を事前アナウンス
230
+
231
+ # td-agent
232
+
233
+ * 元々は **Treasure Data** 主体
234
+ * 現在は **コミュニティ** 主体
235
+
236
+ ![](images/icon.png){:relative-height="90"}
237
+
238
+ # Fluent Package
239
+
240
+ * コミュニティ主体であることをパッケージ名に反映!
241
+
242
+ ![](images/Fluentd_icon_square.png){:relative-height="90"}
243
+
244
+ # 通常版とLTS版との違い
245
+
246
+ | | サポート期間 |
247
+ |----------------------|-----------------------------|
248
+ | 通常版 | 約3ヶ月 \\n(td-agent相当) |
249
+ | LTS (長期サポート版) | **約2年**\\n(事前アナウンス) |
250
+
251
+ # リリースサイクル
252
+
253
+ ```mermaid
254
+ gantt
255
+ title Scheduled Support lifecycle for Fluent Package
256
+ dateFormat YYYY-MM
257
+ axisFormat %Y-%m
258
+ todayMarker off
259
+ section v4
260
+
261
+ %% date -d '20230508 113 days' +%Y%m%d
262
+ %% => 20230829
263
+ v4.5.0 :done, v450, 2023-05-08, 113d
264
+
265
+ %% date -d '20230829 92 days' +%Y%m%d
266
+ %% => 20231129
267
+ v4.5.1 :done, v451, after v450, 92d
268
+
269
+ %% date -d '20231129 32 days' +%Y%m%d
270
+ %% => 20231231
271
+ v4.5.2 :done, v452, after v451, 32d
272
+
273
+ section v5.x
274
+ %% date -d '20230729 31 days' +%Y%m%d
275
+ %% => 20230829
276
+ v5.0.0 :done, v500, 2023-07-29, 31d
277
+
278
+ %% date -d '20230829 92 days' +%Y%m%d
279
+ %% => 202350331
280
+ v5.0.1 :done, v501, after v500, 92d
281
+ v5.0.2 :active, v502, after v501, 92d
282
+ %% date -d '20231129 92 days' +%Y%m%d
283
+ %% => 20240229
284
+
285
+ %% date -d '20240229 396 days' +%Y%m%d
286
+ %% => 20250331
287
+ v5.0.x (fluentd 1.16.x T.B.D.):v50x, after v502, 199d
288
+ v5.1.x (fluentd 1.17.x T.B.D.):v51x, after v50x, 199d
289
+
290
+ section v5.0 (LTS)
291
+ v5.0.x (LTS fluentd 1.16.x) :lts_v5, 2023-07-29, 611d
292
+ Fluent Package v6.0.x (LTS) :milestone, lts_v6, 2025-03-31, 10d
293
+ ```
294
+ {:relative-height="90"}
295
+
296
+ {::note}<https://www.fluentd.org/blog/fluent-package-scheduled-lifecycle>{:/note}
297
+
298
+ # LTSへの移行
299
+
300
+ # LTS版へ移行するメリット
301
+
302
+ * 長期間に渡り安心してアップデート可能!
303
+ * メジャーアップデートを計画的に準備可能!
304
+
305
+ # td-agent v4からの移行方法
306
+
307
+ * 基本的には通常のインストール方法でアップデート可能!
308
+ * 場合によってはマイグレート作業が必要
309
+ * 移行方法はガイドを参考にしてね!
310
+ {::note}<https://www.fluentd.org/blog/upgrade-td-agent-v4-to-v5>{:/note}
311
+ * 日本語版もあるよ!
312
+ {::note}<https://www.clear-code.com/blog/2024/1/24/upgrade-to-fluent-package-v5-from-v4.html>{:/note}
313
+
314
+ # プラグインの移行方法
315
+
316
+ * 独自に追加したものは再インストールが必要
317
+ * fluent-diagtoolで検出できるよ(v1.0.3以降)
318
+ {::note}td-agent v4では、まずツールをアップデート{:/note}
319
+ {::note}Windowsでは、fluent-package v5.0.3から使えるようになる予定{:/note}
320
+
321
+ ```
322
+ $ sudo td-agent-gem install fluent-diagtool
323
+ $ /opt/td-agent/bin/fluent-diagtool -t fluentd -o /tmp
324
+ ...
325
+ [Diagtool] [INFO] [Collect] td-agent manually installed gem information is
326
+ stored in tmp/20230901075350/output/gem_local_list.output
327
+ [Diagtool] [INFO] [Collect] td-agent manually installed gems:
328
+ [Diagtool] [INFO] [Collect] * fluent-plugin-concat
329
+ ...
330
+ ```
331
+
332
+ # 今回の発表内容
333
+
334
+ * Fluentdとは
335
+ * OSC2022 Online/Spring以降のできごと
336
+ * Fluent Package LTSとは
337
+ * **Fluentd開発の最新トピック**
338
+
339
+ # 直近のリリース予定(1)
340
+
341
+ * Fluentd v1.16.4
342
+ * チャンクのサイズ制限を超えたときに例外が発生することがある不具合を修正
343
+ {::note}<https://github.com/fluent/fluentd/pull/4342>{:/note}
344
+ * T.B.D.
345
+
346
+ # 直近のリリース予定(2)
347
+
348
+ * fluent package v5.0.3をリリース予定
349
+ * Fluentd v1.16.4
350
+ * Windowsにおける起動不具合の修正
351
+ * td-agentからの移行処理の改善
352
+ * 重複起動の防止
353
+
354
+ # Windowsにおける起動不具合
355
+
356
+ * 環境によってはワーカープロセスを起動できない
357
+ {::note}td-agent v4.5.0以降{:/note}
358
+ {::note}<https://github.com/fluent/fluent-package-builder/issues/616>{:/note}
359
+ * Windowsサービスの開始がタイムアウトエラーになることがある
360
+ {::note}fluent-package v5.0.0以降{:/note}
361
+ {::note}<https://github.com/fluent/fluent-package-builder/issues/618>{:/note}
362
+
363
+ # td-agentからの移行処理改善
364
+
365
+ * rpm: サービスの自動起動設定を引き継げるように改善
366
+ {::note}<https://github.com/fluent/fluent-package-builder/pull/613>{:/note}
367
+ * deb rpm: アップグレード時にファイル移行に失敗することがある不具合を修正
368
+ {::note}空白文字などを含むファイルに対応{:/note}
369
+ {::note}<https://github.com/fluent/fluent-package-builder/pull/615>{:/note}
370
+
371
+ # 重複起動の防止
372
+
373
+ * 誤操作による重複起動の防止策を実装予定
374
+ {::note}<https://github.com/fluent/fluent-package-builder/issues/611>{:/note}
375
+
376
+ # 今後の課題・展望(1)
377
+
378
+ * Fluentd
379
+ * OpenTelemetry対応(プロトコル仕様の拡張) {::note}Forward Protocol Specification v1.5{:/note}
380
+ * in_tailの機能改善と整備
381
+ * ダウンタイムなしの設定リロードとアップデート
382
+ * 2038年問題への対応
383
+
384
+ {::note}T.B.D. See <https://github.com/fluent/fluentd/milestone/13>{:/note}
385
+
386
+ # 今後の課題・展望(2)
387
+
388
+ * Fluent Package LTS
389
+ * 継続的な開発・リリース
390
+ * fluent-packageの配布インフラをCNCFプロジェクトにスポンサーしてもらう
391
+ * 持続可能なコミュニティサポート
392
+
393
+ # まとめ
394
+
395
+ * Fluentdの長期サポートが必要ならLTS版おすすめ!
396
+ * td-agent v4.xはEOLなのでfluent-package LTSに移行しよう!
397
+
data/theme.rb ADDED
@@ -0,0 +1,2 @@
1
+ include_theme("lightning-clear-blue")
2
+
metadata ADDED
@@ -0,0 +1,75 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rabbit-slide-kenhys-osc2024-online-spring-fluentd
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Kentaro Hayashi
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-02-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rabbit
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 2.0.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 2.0.2
27
+ description: Open Source Conference 2024 Online/Spring slide.
28
+ email:
29
+ - hayashi@clear-code.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - ".rabbit"
35
+ - README.md
36
+ - Rakefile
37
+ - config.yaml
38
+ - images/Fluentd_icon_square.png
39
+ - images/fluentd-architecture.png
40
+ - images/fluentd-before.png
41
+ - images/github-template.png
42
+ - images/how-active.png
43
+ - images/icon.png
44
+ - images/osc2022-presentation1.png
45
+ - images/osc2022-presentation2.png
46
+ - images/ossummitjapan2023-presentation.png
47
+ - images/scaling.png
48
+ - osc2024-online-spring-fluentd.md
49
+ - pdf/osc2024-online-spring-fluentd-osc2024-online-spring-fluentd.pdf
50
+ - theme.rb
51
+ homepage: https://slide.rabbit-shocker.org/authors/kenhys/osc2024-online-spring-fluentd/
52
+ licenses:
53
+ - Apache-2.0
54
+ metadata:
55
+ source_code_uri: https://gitlab.com/clear-code/fluentd-support-common
56
+ post_install_message:
57
+ rdoc_options: []
58
+ require_paths:
59
+ - lib
60
+ required_ruby_version: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: '0'
65
+ required_rubygems_version: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ requirements: []
71
+ rubygems_version: 3.4.19
72
+ signing_key:
73
+ specification_version: 4
74
+ summary: Fluentd Update – Fluentdとパッケージの最新動向について
75
+ test_files: []