File tree 2 files changed +6
-10
lines changed
2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ crate-type = ["cdylib", "rlib"]
10
10
[dependencies ]
11
11
prost = " 0.9"
12
12
rdkafka = { version = " 0.28" , features = [" ssl-vendored" , " sasl" ] }
13
- solana-logger = { version = " =1.9.5 " }
14
- solana-accountsdb-plugin-interface = { version = " =1.9.5 " }
13
+ solana-logger = { version = " =1.8.14 " }
14
+ solana-accountsdb-plugin-interface = { version = " =1.8.14 " }
15
15
log = " 0.4"
16
16
serde_json = " 1.0"
17
17
serde = { version = " 1.0" , features = [" derive" ] }
Original file line number Diff line number Diff line change @@ -26,6 +26,10 @@ impl AccountsDbPlugin for KafkaPlugin {
26
26
"KafkaPlugin"
27
27
}
28
28
29
+ fn notify_end_of_startup ( & mut self ) -> PluginResult < ( ) > {
30
+ Ok ( ( ) )
31
+ }
32
+
29
33
fn on_load ( & mut self , config_file : & str ) -> PluginResult < ( ) > {
30
34
if self . publisher . is_some ( ) {
31
35
let err = simple_error ! ( "plugin already loaded" ) ;
@@ -110,14 +114,6 @@ impl AccountsDbPlugin for KafkaPlugin {
110
114
. update_slot_status ( event)
111
115
. map_err ( |e| PluginError :: AccountsUpdateError { msg : e. to_string ( ) } )
112
116
}
113
-
114
- fn account_data_notifications_enabled ( & self ) -> bool {
115
- self . unwrap_publisher ( ) . wants_update_account ( )
116
- }
117
-
118
- fn transaction_notifications_enabled ( & self ) -> bool {
119
- false
120
- }
121
117
}
122
118
123
119
impl KafkaPlugin {
You can’t perform that action at this time.
0 commit comments