@Test
public void testBulkReadConfig() throws IOException {

  int maxRowKeyCount = 1_000_000;
  BigtableOptions options =
      BigtableOptions.builder()
          .setProjectId(TEST_PROJECT_ID)
          .setInstanceId(TEST_INSTANCE_ID)
          .setCredentialOptions(CredentialOptions.nullCredential())
          .setUserAgent("Test-user-agent")
          .setBulkOptions(BulkOptions.builder().setBulkMaxRowKeyCount(maxRowKeyCount).build())
          .build();
  dataSettings = BigtableVeneerSettingsFactory.createBigtableDataSettings(options);
  assertEquals(
      maxRowKeyCount,
      dataSettings
          .getStubSettings()
          .bulkReadRowsSettings()
          .getBatchingSettings()
          .getElementCountThreshold()
          .intValue());
}