Skip to content
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
This repository was archived by the owner on Aug 30, 2026. It is now read-only.

ChannelRefreshing feature is incompatible with BigtableDataClientFactory #458

Description

@igorbernstein2

Repro:

    BigtableDataSettings settings = BigtableDataSettings.newBuilder()
        .setProjectId(PROJECT_ID)
        .setInstanceId(INSTANCE_ID)
        .setRefreshingChannel(true)
        .build();

    BigtableDataClientFactory f = BigtableDataClientFactory
        .create(settings);

    f.createDefault();
Exception in thread "main" java.lang.IllegalArgumentException: refreshingChannel only works with InstantiatingGrpcChannelProviders
	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:142)
	at com.google.cloud.bigtable.data.v2.stub.EnhancedBigtableStubSettings$Builder.build(EnhancedBigtableStubSettings.java:791)
	at com.google.cloud.bigtable.data.v2.BigtableDataSettings.<init>(BigtableDataSettings.java:71)
	at com.google.cloud.bigtable.data.v2.BigtableDataSettings.<init>(BigtableDataSettings.java:63)
	at com.google.cloud.bigtable.data.v2.BigtableDataSettings$Builder.build(BigtableDataSettings.java:363)
	at com.google.cloud.bigtable.data.v2.BigtableDataClientFactory.createDefault(BigtableDataClientFactory.java:115)

Activity

  1. changed the title [-]ChannelReffreshing feature is incompatible with BigtableDataClientFactory[/-] [+]ChannelRefreshing feature is incompatible with BigtableDataClientFactory[/+] on Oct 12, 2020
  2. added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    and removed
    triage meI really want to be triaged.
    on Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: bigtableIssues related to the googleapis/java-bigtable API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions