File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ type Queue interface {
13
13
// ExtractMin returns the item with the highest priority (less value is the highest priority)
14
14
ExtractMin () Job
15
15
// Len returns the number of items in the queue
16
- Len () uint
16
+ Len () uint64
17
17
}
18
18
19
19
// Job represents a binary heap item
@@ -44,22 +44,22 @@ type Message interface {
44
44
// Payload returns the data associated with the job
45
45
Payload () []byte
46
46
// Delay returns the delay time for the Job (not supported by all drivers)
47
- Delay () int
47
+ Delay () int64
48
48
// AutoAck returns the autocommit status for the Job
49
49
AutoAck () bool
50
50
// UpdatePriority sets the priority of the Job. Priority is optional but cannot be set to 0.
51
51
// The default priority is 10
52
- UpdatePriority (int )
52
+ UpdatePriority (int64 )
53
53
// Headers returns the metadata for the item
54
54
Headers () map [string ][]string
55
55
}
56
56
57
57
// KAFKA options (leave them empty for other drivers)
58
58
type KafkaOptions interface {
59
59
// Offset returns the offset associated with the Job
60
- Offset () int
60
+ Offset () int64
61
61
// Partition returns the partition associated with the Job
62
- Partition () int
62
+ Partition () int32
63
63
// Topic returns the topic associated with the Job
64
64
Topic () string
65
65
// Metadata returns the metadata associated with the Job
You can’t perform that action at this time.
0 commit comments