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
Support send msgs to exchange and flush msgs from exchange to parquet #1560
Conversation
wanghaEMQ
commented
Dec 13, 2023
- Support sends msgs to exchange in parallel
- Support flush msgs got from exchange to parquet.
Signed-off-by: wanghaemq <wangwei@emqx.io>
Signed-off-by: wanghaemq <wangwei@emqx.io>
Signed-off-by: wanghaemq <wangwei@emqx.io>
Signed-off-by: wanghaemq <wangwei@emqx.io>
Signed-off-by: wanghaemq <wangwei@emqx.io>
Signed-off-by: wanghaemq <wangwei@emqx.io>
Signed-off-by: wanghaemq <wangwei@emqx.io>
Signed-off-by: wanghaemq <wangwei@emqx.io>
Signed-off-by: wanghaemq <wangwei@emqx.io>
Signed-off-by: wanghaemq <wangwei@emqx.io>
Signed-off-by: wanghaemq <wangwei@emqx.io>
Signed-off-by: wanghaemq <wangwei@emqx.io>
…f aio due to queue flush in parquet. Signed-off-by: wanghaemq <wangwei@emqx.io>
Needs PR nanomq/NanoNNG#765 to be merged |
Signed-off-by: wanghaemq <wangwei@emqx.io>
Signed-off-by: wanghaemq <wangwei@emqx.io>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1560 +/- ##
==========================================
- Coverage 57.83% 57.26% -0.57%
==========================================
Files 18 18
Lines 6557 6622 +65
==========================================
Hits 3792 3792
- Misses 2765 2830 +65 ☔ View full report in Codecov by Sentry. |
Signed-off-by: wanghaemq <wangwei@emqx.io>
93a2eeb
to
6df49eb
Compare
@@ -1593,6 +1593,7 @@ decode_pub_message(nano_work *work, uint8_t proto) | |||
// payload | |||
pub_packet->payload.len = | |||
(uint32_t) (msg_len - (size_t) used_pos); | |||
nng_msg_set_payload_ptr(msg, msg_body + pos); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool
Signed-off-by: wanghaemq <wangwei@emqx.io>
Signed-off-by: wanghaemq <wangwei@emqx.io>
Signed-off-by: wanghaemq <wangwei@emqx.io>
5d2090e
to
7aaf953
Compare
* FIX [hook] Fix the wrong num_ctx. Signed-off-by: wanghaemq <wangwei@emqx.io>
*nkey = g_msg_index++; | ||
nng_mtx_unlock(hook_conf->ex_mtx); | ||
|
||
if (nng_aio_busy(aio)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need to check busy