Sampras Lopes

Results 46 issues of Sampras Lopes

## Context Our payment records are split in 2 parts:- - PaymentAttempt - PaymentIntent #### Payment Intent This is similar to an order and represents the customer's intent to make...

C-bug
E-medium
P-high
S-awaiting-triage

### formalize an events framework - create design for events - setup messaging interface to forward events - setup event traits to support emitting events ### capture audit events -...

## Type of Change - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation -...

A-Analytics

Need to add a [vector](https://vector.dev/) service to accept events from SDK & insert them to kafka/clickhouse. This URL can be configured as an env in SDK container/deployment and it can...

A-Analytics

## Type of Change - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation -...

C-bug

Update the [`KafkaStore`](https://github.com/juspay/hyperswitch/blob/c20ecb855aa3c4b3ce1798dcc19910fb38345b46/crates/router/src/db/kafka_store.rs#L75-L79) to hold a variable for tenant-ID. This can be achieved by simply adding a new field in the `KafkaStore` struct. Update the KafkaStore constructor method to accept...

A-framework
good first issue
A-Analytics

Currently we have hardcoded [`KafkaStore`](https://github.com/juspay/hyperswitch/blob/c20ecb855aa3c4b3ce1798dcc19910fb38345b46/crates/router/src/db/kafka_store.rs#L76-L79) as a composite of StorageInterface along with a kafka producer, However we wanna make this more generic by substituting `KafkaProducer` with a generic [`MessageInterface`](https://github.com/juspay/hyperswitch/blob/c20ecb855aa3c4b3ce1798dcc19910fb38345b46/crates/events/src/lib.rs#L235-L242) The...

good first issue
help wanted
A-Analytics

Remove the following functions from `KafkaProducer` to rely on `MessageInterface` instead. ```rust pub async fn log_payment_attempt( } pub async fn log_payment_attempt_delete( } pub async fn log_payment_intent( } pub async fn...

A-Analytics

### Feature Description In the current implementation of message interface I can only send a Message & a timestamp associated with the message, There is no accomodation to send additional...

A-framework
C-feature
good first issue
A-Analytics

Update the [AnalyticsProvider](https://github.com/juspay/hyperswitch/blob/be44447c09ea8814dc8b88aa971e08cc749db5f3/crates/analytics/src/lib.rs#L67-L72) (or [`AnalyticsConfig`](https://github.com/juspay/hyperswitch/blob/be44447c09ea8814dc8b88aa971e08cc749db5f3/crates/analytics/src/lib.rs#L593-L608)) to hold a variable for tenant-ID. This can be achieved by simply adding a new field in the underlying structs for SqlxClient & ClickhouseClient. Update...

good first issue
A-Analytics