mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
UPdated the code to remove declared but unused variables - committedOffsets, stv & iv
This commit is contained in:
parent
80281edaee
commit
d19b7ac841
1 changed files with 1 additions and 6 deletions
|
|
@ -232,11 +232,7 @@ func (r *Record) Commit(ctx context.Context) error {
|
|||
s = *x.Topic
|
||||
p = x.Partition
|
||||
}
|
||||
committedOffsets, 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
|
||||
|
|
@ -302,7 +298,6 @@ func (s *Source) Open() error {
|
|||
return err
|
||||
}
|
||||
s.Log.Debugf(buf.String())
|
||||
stv, iv := confluent.LibraryVersion()
|
||||
|
||||
}
|
||||
cl, err := confluent.NewConsumer(s.ConfigMap)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue