-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Real-time json index #6408
Real-time json index #6408
Conversation
5489ae3
to
cf2d195
Compare
Codecov Report
@@ Coverage Diff @@
## master #6408 +/- ##
==========================================
- Coverage 66.44% 65.02% -1.43%
==========================================
Files 1075 1319 +244
Lines 54773 64301 +9528
Branches 8168 9361 +1193
==========================================
+ Hits 36396 41810 +5414
- Misses 15700 19512 +3812
- Partials 2677 2979 +302
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@@ -233,8 +233,8 @@ public void deleteSegmentFile() { | |||
private final SegmentVersion _segmentVersion; | |||
private final SegmentBuildTimeLeaseExtender _leaseExtender; | |||
private SegmentBuildDescriptor _segmentBuildDescriptor; | |||
private StreamConsumerFactory _streamConsumerFactory; | |||
private StreamPartitionMsgOffsetFactory _streamPartitionMsgOffsetFactory; | |||
private final StreamConsumerFactory _streamConsumerFactory; |
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.
do we need final for these ?
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.
Hmm, seems these are changed by the IDE auto-formatter
public void onOpen(Session session, EndpointConfig config) { | ||
session.addMessageHandler(new MessageHandler.Whole<String>() { | ||
@Override | ||
public void onMessage(String message) { |
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.
can we extend MeetupRsvpStream and override a method to generate the msg to produce?
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.
Good point, let me add that
cf2d195
to
4bcdbce
Compare
Description
Add json index support to mutable (real-time) segments
Add a new quickstart for real-time json index on meetup RSVP events
Example query: Find events that are in the fitness group
select json_extract_scalar(event, '$.event_name', 'STRING') from meetupRsvp where json_match("group", 'group_topics.topic_name=''Fitness''') limit 10