Skip to content

Commit

Permalink
NIFI-5688: Ensure that when we map our flow to a VersionedProcessGrou…
Browse files Browse the repository at this point in the history
…p that we include the connections' Load Balance Compression flag

This closes apache#3064
  • Loading branch information
markap14 authored and mcgilman committed Oct 11, 2018
1 parent 8da403c commit 8398ea7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ public VersionedConnection mapConnection(final Connection connection) {
final FlowFileQueue flowFileQueue = connection.getFlowFileQueue();
versionedConnection.setLoadBalanceStrategy(flowFileQueue.getLoadBalanceStrategy().name());
versionedConnection.setPartitioningAttribute(flowFileQueue.getPartitioningAttribute());
versionedConnection.setLoadBalanceCompression(flowFileQueue.getLoadBalanceCompression().name());

versionedConnection.setBends(connection.getBendPoints().stream()
.map(this::mapPosition)
Expand Down

0 comments on commit 8398ea7

Please sign in to comment.