Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,14 @@ public TableBuilder setWriteRpcTimeout(int timeout) {
return null;
}

/**
* This method was added in HBASE-27657. We donot add @Override to allow code to compile with
* versions of hbase both having and not having HBASE-27657
**/
public TableBuilder setRequestAttribute(String key, byte[] value) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a fragile approach. This repository needs sureing up if it is going to intentionally support multiple minor versions of HBase. At the minimum, we need an HBase versions check in our pre-commit and nightlies, similar to what HBase has for Hadoop.

return null;
}

@Override
public Table build() {
return new KafkaTableForBridge(tn, passedInConfiguration, routingRules, producer,
Expand Down