mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
FB-1646 : UPdated code post code review
This commit is contained in:
parent
c74509c578
commit
321fa24831
1 changed files with 7 additions and 1 deletions
|
|
@ -232,6 +232,11 @@ func (r *Record) Commit(ctx context.Context) error {
|
|||
p = x.Partition
|
||||
}
|
||||
|
||||
_, err := r.src.CommitMessages(r.src.highmarks)
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "failed to commit messages")
|
||||
}
|
||||
|
||||
r.src.spool = remaining
|
||||
r.src.spoolBase = idx
|
||||
return nil
|
||||
|
|
@ -292,7 +297,8 @@ func (s *Source) Open() error {
|
|||
return err
|
||||
}
|
||||
s.Log.Debugf(buf.String())
|
||||
|
||||
stv, iv := confluent.LibraryVersion()
|
||||
s.Log.Debugf("version:(%v) %v", iv, stv)
|
||||
}
|
||||
cl, err := confluent.NewConsumer(s.ConfigMap)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue