Skip to content

EnhancedBigtableStub factory ignores user-defined ExecutorProvider #6322

@mackenziestarr

Description

@mackenziestarr

Environment details

  1. Bigtable
  2. Linux Centos 7
  3. JDK 1.8
  4. google-cloud-java version(s): v0.110.0

Steps to reproduce

  1. construct a BigtableDataClient with the code example below
  2. make some queries with the client
  3. take some thread dumps and note that only 4 threads are ever created, not 20 as I would expect

Code example

BigtableDataSettings.Builder settings = BigtableDataSettings.newBuilder()
   .setProjectId("my-project")
   .setInstanceId("my-instance-id");

settings
      .stubSettings()
      .setExecutorProvider(
        InstantiatingExecutorProvider
          .newBuilder()
          .setExecutorThreadCount(20)
          .build()
      )

BigtableDataClient client = BigtableDataClient.create(settings.build());

Metadata

Metadata

Labels

api: bigtableIssues related to the Bigtable API.triage meI really want to be triaged.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