mirror of
https://github.com/thilo-behnke/wasm-pong.git
synced 2026-07-11 02:29:25 +00:00
bugfix: missing heartbeat topic for producer
This commit is contained in:
@@ -235,7 +235,7 @@ impl SessionManager {
|
||||
return Err(format!("Unable to find session with hash {}", session_id));
|
||||
}
|
||||
let session = session.unwrap();
|
||||
let writer = KafkaSessionEventWriterImpl::new(&self.kafka_host, vec!["move", "status", "input", "session"], &i32::from(session.id)).await;
|
||||
let writer = KafkaSessionEventWriterImpl::new(&self.kafka_host, vec!["move", "status", "input", "session", "heart_beat"], &i32::from(session.id)).await;
|
||||
let event_writer =
|
||||
EventWriter::new(Box::new(writer));
|
||||
Ok(SessionWriter {
|
||||
|
||||
Reference in New Issue
Block a user