You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/writing-processors.md
+12-9Lines changed: 12 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,30 +77,33 @@ You can also define your own processor traits by extending the `Processor` trait
77
77
78
78
## Custom Configuration
79
79
80
-
You can access custom configuration options directly within your processor code. The custom configuration options defined under the Processing configuration node can be accessed through the `config` member variable in your processor class.
80
+
You can access custom configuration options directly within your processor code. The custom configuration options
81
+
defined under the `processing` configuration node can be accessed through the `config` member variable in your processor
82
+
class.
81
83
82
84
Here's an example of how to access custom configuration values within your processor:
// Use the custom configuration values in your data transformation logic
92
94
// ...
93
95
}
94
96
}
95
97
```
96
98
97
-
In the above example, `CustomValue1` and `CustomValue2` are custom configuration values defined under the Processing configuration node in your configuration file:
99
+
In the above example, `custom_value_1` and `custom_value_1` are custom configuration values defined under
100
+
the `processing` configuration node in your configuration file:
0 commit comments