Skip to content

Commit

Permalink
fix(multitenancy): remove tenant id from redis stream key of kafkaSto…
Browse files Browse the repository at this point in the history
…re (#4916)
  • Loading branch information
jagan-jaya authored Jun 10, 2024
1 parent e3e31f3 commit 9c7dcbe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/router/src/db/kafka_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1109,9 +1109,8 @@ impl QueueInterface for KafkaStore {
entry_id: &RedisEntryId,
fields: Vec<(&str, String)>,
) -> CustomResult<(), RedisError> {
let stream_name = format!("{}_{}", &self.tenant_id.0, stream);
self.diesel_store
.stream_append_entry(&stream_name, entry_id, fields)
.stream_append_entry(stream, entry_id, fields)
.await
}

Expand Down

0 comments on commit 9c7dcbe

Please sign in to comment.