File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
examples/filter_rust_msgpack Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- # Fluent Bit / filter_rust
1
+ # Fluent Bit / filter_rust_msgpack
2
2
3
- This source source tree provides an example of WASM program written in Rust.
3
+ This source source tree provides an example of WASM program which uses msgpack format written in Rust.
4
4
5
5
## Prerequisites
6
6
7
7
* Rust
8
- * rustc 1.61 .0 (fe5b13d68 2022-05-18 ) or later
8
+ * rustc 1.75 .0 (82e1608df 2023-12-21) ) or later
9
9
* [ rustup] ( https://rustup.rs/ ) (For preparing rust compiler and toolchains)
10
10
11
11
## How to build
@@ -26,7 +26,7 @@ Finally, `*.wasm` file will be created:
26
26
27
27
``` console
28
28
$ ls target/wasm32-unknown-unknown/release/* .wasm
29
- target/wasm32-unknown-unknown/release/filter_rust .wasm
29
+ target/wasm32-unknown-unknown/release/filter_rust_msgpack .wasm
30
30
```
31
31
32
32
## How to confirm WASM filter integration
@@ -49,8 +49,8 @@ Create fluent-bit configuration file as follows:
49
49
[FILTER]
50
50
Name wasm
51
51
match dummy.*
52
- WASM_Path /path/to/filter_rust_rmp .wasm
53
- Function_Name rust_filter_rmp
52
+ WASM_Path /path/to/filter_rust_msgpack .wasm
53
+ Function_Name rust_filter_msgpack
54
54
accessible_paths .,/path/to/fluent-bit
55
55
56
56
[OUTPUT]
You can’t perform that action at this time.
0 commit comments