Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PM-1561 #28

Merged
merged 28 commits into from
Oct 3, 2023
Merged

PM-1561 #28

merged 28 commits into from
Oct 3, 2023

Conversation

JakeCB
Copy link

@JakeCB JakeCB commented Sep 18, 2023

No description provided.

@JakeCB JakeCB requested review from gitamirp and kpham007 September 18, 2023 15:49
@JakeCB JakeCB marked this pull request as ready for review September 19, 2023 17:23

// initialize consumers bin log here, it is shared btw all consumers
std::string const callId = lively.callId;
this->consumersBinLog.InitLog([callId](uint64_t timestamp) -> std::string {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why passing a function then storing the function instead of simply passing a string template ?

userId = "0";
}

this->binLog.InitLog([callId, producerId, userId](uint64_t timestamp) -> std::string {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why passing a function then storing the function instead of simply passing a string template ?

@JakeCB JakeCB requested a review from gitamirp September 21, 2023 17:07
@mariat-atg mariat-atg merged commit 65c5db4 into v3-lively Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants